Cancle builds on new commits

This commit is contained in:
flip1995 2020-01-23 14:40:37 +01:00
parent d7620a3e62
commit b9580fcef7
No known key found for this signature in database
GPG key ID: 693086869D506637
2 changed files with 12 additions and 0 deletions

View file

@ -28,6 +28,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
with:
github_token: "${{ secrets.github_token }}"
- name: rust-toolchain
uses: actions-rs/toolchain@v1.0.3
with:

View file

@ -20,6 +20,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
with:
github_token: "${{ secrets.github_token }}"
- name: Checkout
uses: actions/checkout@v2.0.0
with:
@ -65,6 +68,9 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
with:
github_token: "${{ secrets.github_token }}"
- name: Install dependencies (Linux-i686)
run: |
sudo dpkg --add-architecture i386
@ -192,6 +198,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
with:
github_token: "${{ secrets.github_token }}"
- name: rust-toolchain
uses: actions-rs/toolchain@v1.0.3
with: