File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 3636 - run : |
3737 FILE=/tmp/$NAME.tar.gz
3838 tar -czf $FILE .
39- if [ -f $FILE ]; then
40- echo "File $FILE exists."
41- else
42- echo "error:: title=Missing File::File $FILE does not exist."
43- fi
39+ [ ! -f $FILE ] "error:: title=Missing File::File $FILE does not exist."
4440 - uses : shogo82148/actions-upload-release-asset@v1
4541 with :
4642 upload_url : ${{ github.event.release.upload_url }}
4945 - run : |
5046 FILE=/tmp/$NAME.zip
5147 zip -r $FILE .
52- if [ -f $FILE ]; then
53- echo "File $FILE exists."
54- else
55- echo "error:: title=Missing File::File $FILE does not exist."
56- fi
48+ [ ! -f $FILE ] "error:: title=Missing File::File $FILE does not exist."
5749 - uses : shogo82148/actions-upload-release-asset@v1
5850 with :
5951 upload_url : ${{ github.event.release.upload_url }}
You can’t perform that action at this time.
0 commit comments