gha: move cancelaltion into other workflows (#6771)

This commit is contained in:
Paweł Redzyński
2021-10-08 18:03:07 +03:00
committed by GitHub
parent c24ae2b0c3
commit 8580e66d60
2 changed files with 6 additions and 12 deletions
+4 -7
View File
@@ -2,13 +2,6 @@ name: benchmarks
on: [pull_request, workflow_dispatch]
jobs:
cancel_previous:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
bench:
name: run benchmarks
runs-on: ${{ matrix.os }}
@@ -17,6 +10,10 @@ jobs:
matrix:
os: [ubuntu-18.04]
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/setup-python@v2
with:
python-version: 3.7