We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e417c22 commit b181752Copy full SHA for b181752
ci/lib.sh
@@ -62,8 +62,8 @@ get_artifacts_url() {
62
head_sha=$(git rev-parse HEAD)
63
artifacts_url=$(curl -fsSL 'https://api.github.com/repos/cdr/code-server/actions/workflows/ci.yaml/runs?status=success&event=pull_request' | jq -r ".workflow_runs[] | select(.head_sha == \"$head_sha\") | .artifacts_url" | head -n 1)
64
if [[ -z "$artifacts_url" ]]; then
65
- echo "ERROR: artifacts_url came back empty"
66
- echo "Check the get_artifacts_url function"
+ >&2 echo "ERROR: artifacts_url came back empty"
+ >&2 echo "Check the get_artifacts_url function"
67
exit 1
68
fi
69
0 commit comments