Skip to content

Commit

Permalink
ignore error if release doesn't have artifact (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattnite authored Nov 7, 2024
1 parent 3968888 commit cef10d5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ jobs:
mkdir -p zig-out/www/downloads/microzig
# Download the artifact 'boxzer-out.tar.gz' if it exists
gh release download "$release" --pattern "boxzer-out.tar.gz" --repo ${{ github.repository }} --dir .
if ! gh release download "$release" --pattern "boxzer-out.tar.gz" --repo ${{ github.repository }} --dir . ; then
# Continue if it fails
fi
# Check if the tarball was downloaded and unpack it
if [ -f "boxzer-out.tar.gz" ]; then
Expand Down

0 comments on commit cef10d5

Please sign in to comment.