Skip to content

Commit

Permalink
Fix build version var
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewLester committed Jul 15, 2023
1 parent 3524b0b commit 026d580
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: 1.19

- name: Set version var
run: echo "VERSION=${GITHUB_REF_NAME/v}" >> $GITHUB_ENV
- name: Build
run: make
env:
VERSION: ${GITHUB_REF_NAME/v}
- run: mv ${{ github.workspace }}/bin/ntpal ${{ github.workspace }}/bin/ntpal-${{ matrix.os }}
- name: Upload
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 026d580

Please sign in to comment.