Skip to content

Commit

Permalink
fix: don't fail if the build log cannot be found
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsgruk committed May 1, 2024
1 parent 27d3f41 commit 75258d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release-to-candidate/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ runs:
# shellcheck disable=SC2068
if ! snapcraft remote-build ${snapcraft_args[@]}; then
cat "${name}_${arch}.txt"
cat ${name}_${arch}*.txt || echo "Could not find build log"
fi
# shellcheck disable=SC2086
cat ${name}_${arch}*.txt
cat ${name}_${arch}*.txt || echo "Could not find build log"
if [[ ! -e "${name}_${version}_${arch}.snap" ]]; then
echo "Could not find ${name}_${version}_${arch}.snap"
Expand Down

0 comments on commit 75258d7

Please sign in to comment.