File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed
Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -28,25 +28,17 @@ jobs:
2828
2929 release-asset :
3030 runs-on : ubuntu-latest
31- env :
32- NAME : jwt-cpp-${{ github.event.release.tag_name }}
3331 steps :
3432 - uses : actions/checkout@v4
3533
36- - run : |
37- FILE=/tmp/$NAME.tar.gz
38- tar -czf $FILE .
39- [ ! -f $FILE ] && "error:: title=Missing File::File $FILE does not exist."
34+ - run : tar -vczf /tmp/jwt-cpp-${{ github.event.release.tag_name }}.tar.gz .
4035 - uses : shogo82148/actions-upload-release-asset@v1
4136 with :
4237 upload_url : ${{ github.event.release.upload_url }}
43- asset_path : /tmp/$NAME .tar.gz
38+ asset_path : /tmp/jwt-cpp-${{ github.event.release.tag_name }} .tar.gz
4439
45- - run : |
46- FILE=/tmp/$NAME.zip
47- zip -r $FILE .
48- [ ! -f $FILE ] && "error:: title=Missing File::File $FILE does not exist."
40+ - run : zip -r /tmp/jwt-cpp-${{ github.event.release.tag_name }}.zip .
4941 - uses : shogo82148/actions-upload-release-asset@v1
5042 with :
5143 upload_url : ${{ github.event.release.upload_url }}
52- asset_path : /tmp/$NAME .zip
44+ asset_path : /tmp/jwt-cpp-${{ github.event.release.tag_name }} .zip
You can’t perform that action at this time.
0 commit comments