File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,21 @@ jobs:
3333 steps :
3434 - uses : actions/checkout@v4
3535
36- - run : tar -czf /tmp/$NAME.tar.gz .
36+ - run : |
37+ tar -czf /tmp/$NAME.tar.gz .
38+ if [ -f /tmp/$NAME.tar.gz ]; then; else
39+ echo "error:: title=Missing File::File /tmp/$NAME.tar.gz does not exist."
40+ fi
3741 - uses : shogo82148/actions-upload-release-asset@v1
3842 with :
3943 upload_url : ${{ github.event.release.upload_url }}
4044 asset_path : /tmp/$NAME.tar.gz
4145
42- - run : zip -r /tmp/$NAME.zip .
46+ - run : |
47+ zip -r /tmp/$NAME.zip .
48+ if [ -f /tmp/$NAME.zip ]; then; else
49+ echo "error:: title=Missing File::File /tmp/$NAME.zip does not exist."
50+ fi
4351 - uses : shogo82148/actions-upload-release-asset@v1
4452 with :
4553 upload_url : ${{ github.event.release.upload_url }}
You can’t perform that action at this time.
0 commit comments