Skip to content

Commit f155b50

Browse files
back to basics
1 parent 94adcd9 commit f155b50

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,14 @@ jobs:
2929
release-asset:
3030
if: github.event_name != 'workflow_dispatch'
3131
runs-on: ubuntu-latest
32-
env:
33-
NAME: jwt-cpp-${{ github.event.release.tag_name }}
3432
steps:
3533
- uses: actions/checkout@v4
3634

3735
- run: tar --exclude='./.git' -vczf /tmp/jwt-cpp-${{ github.event.release.tag_name }}.tar.gz .
3836
- uses: shogo82148/actions-upload-release-asset@v1
3937
with:
4038
upload_url: ${{ github.event.release.upload_url }}
41-
asset_path: /tmp/$NAME.tar.gz
39+
asset_path: /tmp/jwt-cpp-${{ github.event.release.tag_name }}.tar.gz
4240

4341
- run: zip -x './.git/*' -r /tmp/jwt-cpp-${{ github.event.release.tag_name }}.zip .
4442
- uses: shogo82148/actions-upload-release-asset@v1

0 commit comments

Comments
 (0)