Skip to content

Commit be8589f

Browse files
committed
Auto merge of rust-lang#71675 - pietroalbini:ci-fix-shrink-regression, r=Mark-Simulacrum
ci: use bash when executing the "bors build finished" jobs We don't clone the repository in those builders, so the default shell (`src/ci/exec-with-shell.py`) is not present there. This fixes a GHA regression introduced in rust-lang#71434. r? @Mark-Simulacrum
2 parents eece58a + fde5811 commit be8589f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,7 @@ jobs:
624624
steps:
625625
- name: mark the job as a success
626626
run: exit 0
627+
shell: bash
627628
name: bors build finished
628629
runs-on: ubuntu-latest
629630
try-failure:
@@ -633,6 +634,7 @@ jobs:
633634
steps:
634635
- name: mark the job as a failure
635636
run: exit 1
637+
shell: bash
636638
name: bors build finished
637639
runs-on: ubuntu-latest
638640
auto-success:
@@ -642,6 +644,7 @@ jobs:
642644
steps:
643645
- name: mark the job as a success
644646
run: exit 0
647+
shell: bash
645648
name: bors build finished
646649
runs-on: ubuntu-latest
647650
auto-failure:
@@ -651,5 +654,6 @@ jobs:
651654
steps:
652655
- name: mark the job as a failure
653656
run: exit 1
657+
shell: bash
654658
name: bors build finished
655659
runs-on: ubuntu-latest

src/ci/github-actions/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -210,12 +210,14 @@ x--expand-yaml-anchors--remove:
210210
steps:
211211
- name: mark the job as a success
212212
run: exit 0
213+
shell: bash
213214
<<: *base-outcome-job
214215

215216
- &base-failure-job
216217
steps:
217218
- name: mark the job as a failure
218219
run: exit 1
220+
shell: bash
219221
<<: *base-outcome-job
220222

221223
###########################

0 commit comments

Comments
 (0)