Skip to content

Commit

Permalink
fail if no artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
alvicsam committed Nov 22, 2024
1 parent 8bdd90b commit 72116f8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/tests-misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,12 @@ jobs:
exit 0
fi
# fail if no artifacts
if [ ! -d ./artifacts/master ] || [ ! -d ./artifacts/current ]; then
echo "No artifacts found"
exit 1
fi
docker run --rm \
-v $PWD/artifacts/master:/artifacts/master \
-v $PWD/artifacts/current:/artifacts/current \
Expand Down

0 comments on commit 72116f8

Please sign in to comment.