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 commit is contained in:
Pietro Albini 2020-04-29 16:32:06 +02:00
parent e91aebc1a3
commit fde5811d74
No known key found for this signature in database
GPG Key ID: 3E06ABE80BAAF19C
2 changed files with 6 additions and 0 deletions

View File

@ -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:
@ -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:
@ -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:
@ -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

View File

@ -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
###########################