Skip to content

Commit

Permalink
Fix tag in release asset name
Browse files Browse the repository at this point in the history
  • Loading branch information
Thierry Lacour authored and Thierry Lacour committed Sep 25, 2020
1 parent fbd782d commit 8e82726
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Get tag
id: get_tag
run: echo ::set-output name=TAG::${GITHUB_REF/refs\/tags\//}

- name: Archive katas
shell: bash
run: git archive --output=git-katas.zip HEAD
Expand All @@ -34,5 +38,5 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./git-katas.zip
asset_name: git-katas-${{ github.ref }}.zip
asset_name: git-katas-${{ steps.get_tag.outputs.TAG }}.zip
asset_content_type: application/zip

0 comments on commit 8e82726

Please sign in to comment.