Skip to content

Commit dabf0fd

Browse files
committed
Disable cancel-outdated-builds.
1 parent 573f1c0 commit dabf0fd

File tree

2 files changed

+6
-21
lines changed

2 files changed

+6
-21
lines changed

.github/workflows/ci.yml

-15
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,6 @@ jobs:
7272
- name: decide whether to skip this job
7373
run: src/ci/scripts/should-skip-this.sh
7474
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'"
8075
- name: collect CPU statistics
8176
run: src/ci/scripts/collect-cpu-stats.sh
8277
if: success() && !env.SKIP_JOB
@@ -433,11 +428,6 @@ jobs:
433428
- name: decide whether to skip this job
434429
run: src/ci/scripts/should-skip-this.sh
435430
if: success() && !env.SKIP_JOB
436-
- name: configure GitHub Actions to kill the build when outdated
437-
uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
438-
with:
439-
github_token: "${{ secrets.github_token }}"
440-
if: "success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'"
441431
- name: collect CPU statistics
442432
run: src/ci/scripts/collect-cpu-stats.sh
443433
if: success() && !env.SKIP_JOB
@@ -540,11 +530,6 @@ jobs:
540530
- name: decide whether to skip this job
541531
run: src/ci/scripts/should-skip-this.sh
542532
if: success() && !env.SKIP_JOB
543-
- name: configure GitHub Actions to kill the build when outdated
544-
uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
545-
with:
546-
github_token: "${{ secrets.github_token }}"
547-
if: "success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'"
548533
- name: collect CPU statistics
549534
run: src/ci/scripts/collect-cpu-stats.sh
550535
if: success() && !env.SKIP_JOB

src/ci/github-actions/ci.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,12 @@ x--expand-yaml-anchors--remove:
126126
run: src/ci/scripts/should-skip-this.sh
127127
<<: *step
128128

129-
- name: configure GitHub Actions to kill the build when outdated
130-
uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
131-
with:
132-
github_token: "${{ secrets.github_token }}"
133-
if: success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'
134-
<<: *step
129+
#- name: configure GitHub Actions to kill the build when outdated
130+
# uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
131+
# with:
132+
# github_token: "${{ secrets.github_token }}"
133+
# if: success() && !env.SKIP_JOB && github.ref != 'refs/heads/try'
134+
# <<: *step
135135

136136
- name: collect CPU statistics
137137
run: src/ci/scripts/collect-cpu-stats.sh

0 commit comments

Comments
 (0)