You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 45acbba
Browse filesBrowse the repository at this point in the historyBrowse files
CI: fail when the ephy_testing_data HEAD hash cannot be resolved
The hash step wrote `dataset_hash=$(git ls-remote ... | cut -f1)` with
echo, so its exit status was the one of echo. When git ls-remote failed
against gin (HTTP 403, connection failure), the step stayed green, wrote
an empty dataset_hash and the cache key degraded to `Linux-datasets-`.
Enable pipefail, test both the assignment and the emptiness of the result,
emit an ::error:: annotation and exit 1. The step id and names are
unchanged, so steps.ephy_testing_data.outputs.dataset_hash still resolves.
See #1896.
0 commit comments