Skip to content

Commit e1a592e

Browse files
authored
Make bash the default shell for all the jobs (#193)
1 parent 42ea64b commit e1a592e

3 files changed

Lines changed: 18 additions & 1 deletion

File tree

.github/workflows/ci-report.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ jobs:
1717
actions: read
1818
checks: write
1919
statuses: write
20+
defaults:
21+
run:
22+
shell: bash
2023
steps:
2124
# Download artifacts from the CI workflow run
2225
- name: Download test reports

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ jobs:
1515
env:
1616
CARGO_TERM_COLOR: always
1717
permissions: {}
18+
defaults:
19+
run:
20+
shell: bash
1821
steps:
1922
- name: Checkout code
2023
uses: actions/checkout@v5
@@ -126,6 +129,9 @@ jobs:
126129
PRINTERS_JS_SIMULATE: true # Force simulation mode for all tests
127130
CARGO_TERM_COLOR: always
128131
permissions: {}
132+
defaults:
133+
run:
134+
shell: bash
129135
steps:
130136
- name: Checkout code
131137
uses: actions/checkout@v5

.github/workflows/release.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ jobs:
1010
name: Build N-API modules
1111
runs-on: ${{ matrix.settings.host }}
1212
permissions: {}
13+
defaults:
14+
run:
15+
shell: bash
1316
strategy:
1417
fail-fast: false
1518
matrix:
@@ -95,6 +98,9 @@ jobs:
9598
runs-on: ${{ matrix.settings.host }}
9699
needs: build-napi
97100
permissions: {}
101+
defaults:
102+
run:
103+
shell: bash
98104
strategy:
99105
fail-fast: false
100106
matrix:
@@ -181,6 +187,9 @@ jobs:
181187
permissions:
182188
contents: write
183189
id-token: write
190+
defaults:
191+
run:
192+
shell: bash
184193
steps:
185194
- uses: actions/checkout@v5
186195
- name: Setup Task
@@ -202,7 +211,6 @@ jobs:
202211
pattern: npm-binaries-*
203212
path: npm-temp
204213
- name: Reconstruct npm directory structure
205-
shell: bash
206214
run: |
207215
mkdir -p npm
208216
# Move each platform's files to the correct npm subdirectory

0 commit comments

Comments
 (0)