Skip to content

Commit

Permalink
Auto merge of rust-lang#71675 - pietroalbini:ci-fix-shrink-regression…
Browse files Browse the repository at this point in the history
…, 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
  • Loading branch information
bors committed Apr 30, 2020
2 parents eece58a + fde5811 commit be8589f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,7 @@ jobs:
steps:
- name: mark the job as a success
run: exit 0
shell: bash
name: bors build finished
runs-on: ubuntu-latest
try-failure:
Expand All @@ -633,6 +634,7 @@ jobs:
steps:
- name: mark the job as a failure
run: exit 1
shell: bash
name: bors build finished
runs-on: ubuntu-latest
auto-success:
Expand All @@ -642,6 +644,7 @@ jobs:
steps:
- name: mark the job as a success
run: exit 0
shell: bash
name: bors build finished
runs-on: ubuntu-latest
auto-failure:
Expand All @@ -651,5 +654,6 @@ jobs:
steps:
- name: mark the job as a failure
run: exit 1
shell: bash
name: bors build finished
runs-on: ubuntu-latest
2 changes: 2 additions & 0 deletions src/ci/github-actions/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,14 @@ x--expand-yaml-anchors--remove:
steps:
- name: mark the job as a success
run: exit 0
shell: bash
<<: *base-outcome-job

- &base-failure-job
steps:
- name: mark the job as a failure
run: exit 1
shell: bash
<<: *base-outcome-job

###########################
Expand Down

0 comments on commit be8589f

Please sign in to comment.