Skip to content

Commit edaec6f

Browse files
committed
CI: Only untar artifacts that are tarred
Docs aren't tarred, because they don't need to be. It still makes sense to upload them with the release, though, so this is the better way to patch the issue.
1 parent bd499a5 commit edaec6f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish-project.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ jobs:
3333
for name in ./*; do
3434
if [ -d "$name" ]; then
3535
cd "./$name"
36-
tar -xvf boscaceoil-blue.tar
37-
rm -f boscaceoil-blue.tar
36+
if [ -f "boscaceoil-blue.tar" ]; then
37+
tar -xvf boscaceoil-blue.tar
38+
rm -f boscaceoil-blue.tar
39+
fi
3840
cd ..
3941
fi
4042
done

0 commit comments

Comments
 (0)