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 a4d5634 commit 6d2205d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ jobs:
GOOS=${GOOSARCH%/*}
GOARCH=${GOOSARCH#*/}
BINARY_NAME=${{github.repository}}-$GOOS-$GOARCH
ARTIFACT_NAME=${BINARY_NAME#*/}
echo "BINARY_NAME=$BINARY_NAME" >> $GITHUB_ENV
echo "ARTIFACT_NAME=$ARTIFACT_NAME" >> $GITHUB_ENV
echo "GOOS=$GOOS" >> $GITHUB_ENV
echo "GOARCH=$GOARCH" >> $GITHUB_ENV
- name: Gather GitHub SHA
Expand All @@ -71,5 +73,5 @@ jobs:
- name: Upload Build artifacts
uses: actions/upload-artifact@v4
with:
name: ${{env.BINARY_NAME#*/}}
name: ${{env.ARTIFACT_NAME}}
path: ${{env.BINARY_NAME}}

0 comments on commit 6d2205d

Please sign in to comment.