Skip to content

Fail build.sh if any command in it fails #6403

Fail build.sh if any command in it fails

Fail build.sh if any command in it fails #6403

Triggered via pull request June 12, 2025 14:21
Status Failure
Total duration 4m 33s
Artifacts

__unset-environment.yml

on: pull_request
Matrix: Test unsetting environment variables
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 6 warnings
Test unsetting environment variables (ubuntu-latest, linked)
Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/home/runner/work/codeql-action/codeql-action/.github/actions/prepare-test'. Did you forget to run actions/checkout before running your local action?
Test unsetting environment variables (ubuntu-latest, nightly-latest)
Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/home/runner/work/codeql-action/codeql-action/.github/actions/prepare-test'. Did you forget to run actions/checkout before running your local action?
Test unsetting environment variables (ubuntu-latest, linked)
Expected `which go` to return /home/runner/work/_temp/codeql-action-go-tracing/bin/go, but got /opt/hostedtoolcache/go/1.23.9/x64/bin/go: please ensure that the correct version of Go is installed before the `codeql-action/init` Action is used.
Test unsetting environment variables (ubuntu-latest, linked)
Restore cache failed: Dependencies file is not found in /home/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum
Test unsetting environment variables (ubuntu-latest, linked)
Restore cache failed: Dependencies file is not found in /home/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum
Test unsetting environment variables (ubuntu-latest, nightly-latest)
Expected `which go` to return /home/runner/work/_temp/codeql-action-go-tracing/bin/go, but got /opt/hostedtoolcache/go/1.24.4/x64/bin/go: please ensure that the correct version of Go is installed before the `codeql-action/init` Action is used.
Test unsetting environment variables (ubuntu-latest, nightly-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum
Test unsetting environment variables (ubuntu-latest, nightly-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/codeql-action/codeql-action. Supported file pattern: go.sum