build: cancel previous github action runs (#11940)

This commit is contained in:
Jesse Yang
2020-12-08 15:27:08 -08:00
committed by GitHub
parent 7e6f04fce4
commit 8164aeafb1
9 changed files with 153 additions and 101 deletions

View File

@@ -10,6 +10,10 @@ jobs:
matrix:
python-version: [3.7]
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.6.0
with:
access_token: ${{ github.token }}
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Python
@@ -33,6 +37,10 @@ jobs:
matrix:
python-version: [3.7]
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.6.0
with:
access_token: ${{ github.token }}
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Python
@@ -55,6 +63,10 @@ jobs:
matrix:
python-version: [3.7]
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.6.0
with:
access_token: ${{ github.token }}
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Python