Skip to content

Commit 5547962

Browse files
xtqqczzesylvestre
authored andcommitted
ci: specify bash shell for background jobs
GitHub Actions defaults to PowerShell on some runners, which swallows background job output and can behave differently with `&`.
1 parent acd51ef commit 5547962

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/CICD.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@ jobs:
394394
with:
395395
persist-credentials: false
396396
- name: Avoid no space left on device
397+
shell: bash
397398
run: sudo rm -rf /usr/share/dotnet /usr/local/lib/android &
398399
- uses: dtolnay/rust-toolchain@master
399400
with:

.github/workflows/freebsd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ jobs:
125125
with:
126126
persist-credentials: false
127127
- name: Avoid no space left on device (Ubuntu runner)
128+
shell: bash
128129
run: sudo rm -rf /usr/share/dotnet /usr/local/lib/android &
129130
- name: Prepare, build and test
130131
uses: vmactions/freebsd-vm@v1.3.9

0 commit comments

Comments
 (0)