Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lmangani authored Dec 13, 2024
1 parent 3dc6af3 commit 5f943c3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
ref_name:
description: Release Version
required: true
test:
required: true
type: boolean
release:
types: [created]

Expand Down Expand Up @@ -37,14 +40,15 @@ jobs:
go test ./...
- name: Integration Test
if: ${{ github.event.inputs.test }}
run: bash integration_test/test.sh

- run: |
echo "VERSION=${{ (github.ref_name == 'master' && github.event_name == 'workflow_dispatch') && github.event.inputs.ref_name || github.ref_name }}" >> $GITHUB_ENV
- name: get NFPM
run: |
wget -qO- https://github.com/goreleaser/nfpm/releases/download/v2.35.3/nfpm_2.35.3_Linux_x86_64.tar.gz | tar --directory ./ -xz nfpm
wget -qO- https://github.com/goreleaser/nfpm/releases/download/v2.41.1/nfpm_2.41.1_Linux_x86_64.tar.gz | tar --directory ./ -xz nfpm
chmod +x nfpm
- name: Create Packages
Expand Down

0 comments on commit 5f943c3

Please sign in to comment.