File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -28,14 +28,19 @@ jobs:
2828
2929 release-asset :
3030 runs-on : ubuntu-latest
31+ env :
32+ NAME : jwt-cpp-${{ github.event.release.tag_name }}
3133 steps :
3234 - uses : actions/checkout@v4
3335
34- # steps for building assets
35- - run : tar -czf /tmp/jwt-cpp-${{ github.event.release.tag_name }}.tar.gz .
36-
36+ - run : tar -czf /tmp/$NAME.tar.gz .
3737 - uses : shogo82148/actions-upload-release-asset@v1
3838 with :
3939 upload_url : ${{ github.event.release.upload_url }}
40- asset_path : /tmp/jwt-cpp-${{ github.event.release.tag_name }} .tar.gz
40+ asset_path : /tmp/$NAME .tar.gz
4141
42+ - run : zip -r /tmp/$NAME.zip .
43+ - uses : shogo82148/actions-upload-release-asset@v1
44+ with :
45+ upload_url : ${{ github.event.release.upload_url }}
46+ asset_path : /tmp/$NAME.zip
You can’t perform that action at this time.
0 commit comments