Skip to content

Commit

Permalink
versioned artifact name for release
Browse files Browse the repository at this point in the history
  • Loading branch information
aoirint committed Sep 18, 2021
1 parent 2b2f335 commit 76eac98
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ jobs:
"${{ env.IMAGE_TAG }}"
- uses: actions/upload-artifact@v2
env:
VERSIONED_ARTIFACT_NAME: |
format('{0}-{1}', matrix.tag, (github.event.release.tag_name != '' && github.event.release.tag_name) || github.sha)
with:
name: ${{ matrix.tag }}-${{ github.sha }}
name: ${{ env.VERSIONED_ARTIFACT_NAME }}
path: build/run.dist/

0 comments on commit 76eac98

Please sign in to comment.