Skip to content

Commit 4f2063c

Browse files
committed
Set shell deliberately
1 parent 7c0d583 commit 4f2063c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/update-stage0.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ concurrency:
1919
jobs:
2020
update-stage0:
2121
runs-on: ubuntu-latest
22-
defaults:
23-
run:
24-
shell: 'nix develop -c bash -euxo pipefail {0}'
2522
steps:
2623
# This action should push to an otherwise protected branch, so it
2724
# uses a deploy key with write permissions, as suggested at
@@ -47,14 +44,18 @@ jobs:
4744
- name: Open Nix shell once
4845
if: env.should_update_stage0 == 'yes'
4946
run: true
47+
shell: 'nix develop -c bash -euxo pipefail {0}'
5048
- name: Set up NPROC
5149
if: env.should_update_stage0 == 'yes'
5250
run: |
5351
echo "NPROC=$(nproc 2>/dev/null || sysctl -n hw.logicalcpu 2>/dev/null || echo 4)" >> $GITHUB_ENV
52+
shell: 'nix develop -c bash -euxo pipefail {0}'
5453
- if: env.should_update_stage0 == 'yes'
5554
run: cmake --preset release
55+
shell: 'nix develop -c bash -euxo pipefail {0}'
5656
- if: env.should_update_stage0 == 'yes'
5757
run: make -j$NPROC -C build/release update-stage0-commit
58+
shell: 'nix develop -c bash -euxo pipefail {0}'
5859
- if: env.should_update_stage0 == 'yes'
5960
run: git show --stat
6061
- if: env.should_update_stage0 == 'yes' && github.event_name == 'push'

0 commit comments

Comments
 (0)