5959 uses : actions/checkout@v1
6060 with :
6161 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"
6762 - name : configure the PR in which the error message will be posted
6863 run : " echo \" [CI_PR_NUMBER=$num]\" "
6964 env :
7772 - name : decide whether to skip this job
7873 run : src/ci/scripts/should-skip-this.sh
7974 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"
8080 - name : collect CPU statistics
8181 run : src/ci/scripts/collect-cpu-stats.sh
8282 if : success() && !env.SKIP_JOB
@@ -163,11 +163,6 @@ jobs:
163163 uses : actions/checkout@v1
164164 with :
165165 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"
171166 - name : configure the PR in which the error message will be posted
172167 run : " echo \" [CI_PR_NUMBER=$num]\" "
173168 env :
@@ -181,6 +176,11 @@ jobs:
181176 - name : decide whether to skip this job
182177 run : src/ci/scripts/should-skip-this.sh
183178 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"
184184 - name : collect CPU statistics
185185 run : src/ci/scripts/collect-cpu-stats.sh
186186 if : success() && !env.SKIP_JOB
@@ -482,11 +482,6 @@ jobs:
482482 uses : actions/checkout@v1
483483 with :
484484 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"
490485 - name : configure the PR in which the error message will be posted
491486 run : " echo \" [CI_PR_NUMBER=$num]\" "
492487 env :
@@ -500,6 +495,11 @@ jobs:
500495 - name : decide whether to skip this job
501496 run : src/ci/scripts/should-skip-this.sh
502497 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"
503503 - name : collect CPU statistics
504504 run : src/ci/scripts/collect-cpu-stats.sh
505505 if : success() && !env.SKIP_JOB
@@ -621,11 +621,6 @@ jobs:
621621 uses : actions/checkout@v1
622622 with :
623623 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"
629624 - name : configure the PR in which the error message will be posted
630625 run : " echo \" [CI_PR_NUMBER=$num]\" "
631626 env :
@@ -639,6 +634,11 @@ jobs:
639634 - name : decide whether to skip this job
640635 run : src/ci/scripts/should-skip-this.sh
641636 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"
642642 - name : collect CPU statistics
643643 run : src/ci/scripts/collect-cpu-stats.sh
644644 if : success() && !env.SKIP_JOB
0 commit comments