Skip to content

Commit 77dc0f5

Browse files
committed
ci(release): force bash for build-provider-linux container steps
GitHub Actions defaults to `sh -e` for `run:` steps inside a container, not bash. The Parity CI image's `sh` is dash, which rejects `set -o pipefail` (and would next break on `${VAR//x/y}` / `${VAR:0:N}` substitution). Result: the "Stage and archive" step exited 2 immediately on the dispatch test run. Pin `defaults.run.shell: bash` at the job level so every `run:` step in build-provider-linux executes under bash. macOS is unaffected (non-container, bash is already the default there).
1 parent 358d527 commit 77dc0f5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ jobs:
9090
contents: read
9191
container:
9292
image: ${{ needs.set-image.outputs.CI_IMAGE }}
93+
defaults:
94+
run:
95+
shell: bash
9396
steps:
9497
- name: Checkout
9598
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

0 commit comments

Comments
 (0)