59
59
uses : actions/checkout@v1
60
60
with :
61
61
fetch-depth : 2
62
- - name : configure GitHub Actions to kill the build when outdated
63
- uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
64
- with :
65
- github_token : " ${{ secrets.github_token }}"
66
- if : " success() && !env.SKIP_JOB && github.ref != 'refs/heads/try' && !env.RUST_CI_TEMP_SKIP_CANCEL_OUTDATED"
67
62
- name : configure the PR in which the error message will be posted
68
63
run : " echo \" [CI_PR_NUMBER=$num]\" "
69
64
env :
77
72
- name : decide whether to skip this job
78
73
run : src/ci/scripts/should-skip-this.sh
79
74
if : success() && !env.SKIP_JOB
75
+ - name : configure GitHub Actions to kill the build when outdated
76
+ uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
77
+ with :
78
+ github_token : " ${{ secrets.github_token }}"
79
+ if : " success() && !env.SKIP_JOB && github.ref != 'refs/heads/try' && !env.RUST_CI_TEMP_SKIP_CANCEL_OUTDATED"
80
80
- name : collect CPU statistics
81
81
run : src/ci/scripts/collect-cpu-stats.sh
82
82
if : success() && !env.SKIP_JOB
@@ -163,11 +163,6 @@ jobs:
163
163
uses : actions/checkout@v1
164
164
with :
165
165
fetch-depth : 2
166
- - name : configure GitHub Actions to kill the build when outdated
167
- uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
168
- with :
169
- github_token : " ${{ secrets.github_token }}"
170
- if : " success() && !env.SKIP_JOB && github.ref != 'refs/heads/try' && !env.RUST_CI_TEMP_SKIP_CANCEL_OUTDATED"
171
166
- name : configure the PR in which the error message will be posted
172
167
run : " echo \" [CI_PR_NUMBER=$num]\" "
173
168
env :
@@ -181,6 +176,11 @@ jobs:
181
176
- name : decide whether to skip this job
182
177
run : src/ci/scripts/should-skip-this.sh
183
178
if : success() && !env.SKIP_JOB
179
+ - name : configure GitHub Actions to kill the build when outdated
180
+ uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
181
+ with :
182
+ github_token : " ${{ secrets.github_token }}"
183
+ if : " success() && !env.SKIP_JOB && github.ref != 'refs/heads/try' && !env.RUST_CI_TEMP_SKIP_CANCEL_OUTDATED"
184
184
- name : collect CPU statistics
185
185
run : src/ci/scripts/collect-cpu-stats.sh
186
186
if : success() && !env.SKIP_JOB
@@ -482,11 +482,6 @@ jobs:
482
482
uses : actions/checkout@v1
483
483
with :
484
484
fetch-depth : 2
485
- - name : configure GitHub Actions to kill the build when outdated
486
- uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
487
- with :
488
- github_token : " ${{ secrets.github_token }}"
489
- if : " success() && !env.SKIP_JOB && github.ref != 'refs/heads/try' && !env.RUST_CI_TEMP_SKIP_CANCEL_OUTDATED"
490
485
- name : configure the PR in which the error message will be posted
491
486
run : " echo \" [CI_PR_NUMBER=$num]\" "
492
487
env :
@@ -500,6 +495,11 @@ jobs:
500
495
- name : decide whether to skip this job
501
496
run : src/ci/scripts/should-skip-this.sh
502
497
if : success() && !env.SKIP_JOB
498
+ - name : configure GitHub Actions to kill the build when outdated
499
+ uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
500
+ with :
501
+ github_token : " ${{ secrets.github_token }}"
502
+ if : " success() && !env.SKIP_JOB && github.ref != 'refs/heads/try' && !env.RUST_CI_TEMP_SKIP_CANCEL_OUTDATED"
503
503
- name : collect CPU statistics
504
504
run : src/ci/scripts/collect-cpu-stats.sh
505
505
if : success() && !env.SKIP_JOB
@@ -621,11 +621,6 @@ jobs:
621
621
uses : actions/checkout@v1
622
622
with :
623
623
fetch-depth : 2
624
- - name : configure GitHub Actions to kill the build when outdated
625
- uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
626
- with :
627
- github_token : " ${{ secrets.github_token }}"
628
- if : " success() && !env.SKIP_JOB && github.ref != 'refs/heads/try' && !env.RUST_CI_TEMP_SKIP_CANCEL_OUTDATED"
629
624
- name : configure the PR in which the error message will be posted
630
625
run : " echo \" [CI_PR_NUMBER=$num]\" "
631
626
env :
@@ -639,6 +634,11 @@ jobs:
639
634
- name : decide whether to skip this job
640
635
run : src/ci/scripts/should-skip-this.sh
641
636
if : success() && !env.SKIP_JOB
637
+ - name : configure GitHub Actions to kill the build when outdated
638
+ uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
639
+ with :
640
+ github_token : " ${{ secrets.github_token }}"
641
+ if : " success() && !env.SKIP_JOB && github.ref != 'refs/heads/try' && !env.RUST_CI_TEMP_SKIP_CANCEL_OUTDATED"
642
642
- name : collect CPU statistics
643
643
run : src/ci/scripts/collect-cpu-stats.sh
644
644
if : success() && !env.SKIP_JOB
0 commit comments