Skip to content

Commit

Permalink
Ensure CI always prints ghc-lib and ghc-lib-parser URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
akrmn committed Oct 26, 2021
1 parent 35c138e commit f4be796
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/da-ghc-lib/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
PARSER_STATUS="$(curl -Is "$URL_BASE/$PARSER" | head -1 | awk '{print $2}')"
if [ "200" = "$LIB_STATUS" ] && [ "200" = "$PARSER_STATUS" ]; then
echo "Both artifacts exist; no need to run."
echo "Please add(/replace) the following lines to stack-snapshot.yaml:"
echo " - archive: $URL_BASE/$LIB"
echo " - archive: $URL_BASE/$PARSER"
exit 0
fi
Expand Down

0 comments on commit f4be796

Please sign in to comment.