Skip to content

Commit

Permalink
get tag name in build process
Browse files Browse the repository at this point in the history
  • Loading branch information
LilithWittmann committed Mar 16, 2024
1 parent 691abf4 commit 3925965
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,12 @@ jobs:
draft: false
prerelease: false

- name: get tag name
id: get_tag_name
run: echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}

- name: ZIP production artifacts
run: zip -r causy-ui-${{ github.ref }}.zip dist
run: zip -r causy-ui-${{ steps.get_tag_name.outputs.SOURCE_TAG }}.zip dist/

- name: Upload Release Asset
id: upload-release-asset
Expand Down

0 comments on commit 3925965

Please sign in to comment.