File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,13 @@ jobs:
3131 steps :
3232 - uses : actions/checkout@v4
3333
34- - run : tar -vczf /tmp/jwt-cpp-${{ github.event.release.tag_name }}.tar.gz .
34+ - run : tar -vczf --exclude='./.git' /tmp/jwt-cpp-${{ github.event.release.tag_name }}.tar.gz .
3535 - uses : shogo82148/actions-upload-release-asset@v1
3636 with :
3737 upload_url : ${{ github.event.release.upload_url }}
3838 asset_path : /tmp/jwt-cpp-${{ github.event.release.tag_name }}.tar.gz
3939
40- - run : zip -r /tmp/jwt-cpp-${{ github.event.release.tag_name }}.zip .
40+ - run : zip -r -x "./.git/*" /tmp/jwt-cpp-${{ github.event.release.tag_name }}.zip .
4141 - uses : shogo82148/actions-upload-release-asset@v1
4242 with :
4343 upload_url : ${{ github.event.release.upload_url }}
You can’t perform that action at this time.
0 commit comments