Skip to content

Commit

Permalink
ci: fix workflow envs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Prikhno committed Aug 8, 2024
1 parent e574ab7 commit c5d64e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ jobs:
- name: Gather GitHub SHA
run: |
echo "SHORT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
echo "BRANCH=$GITHUB_HEAD_REF" >> $GITHUB_ENV
echo "BRANCH=$GITHUB_REF_NAME" >> $GITHUB_ENV
- name: Build
run: |
go build -ldflags="-w -s -X github.com/marsskop/lightkeytool/cmd.version=$BRANCH-$SHORT_SHA" -o "$BINARY_NAME"
- name: Upload Build artifacts
uses: actions/upload-artifact@v4
with:
name: $BINARY_NAME
path: $BINARY_NAME
name: ${{ env.BINARY_NAME }}
path: ${{ env.BINARY_NAME }}

0 comments on commit c5d64e9

Please sign in to comment.