[skip ci] Update cancel-workflow-action

This commit is contained in:
arkon 2021-09-09 18:20:12 -04:00
parent d058e32c2c
commit 01f877ac0f
2 changed files with 8 additions and 6 deletions

View File

@ -10,17 +10,18 @@ jobs:
name: Validate Gradle Wrapper
runs-on: ubuntu-latest
steps:
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}
all_but_latest: true
- name: Clone repo
uses: actions/checkout@v2
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.8.0
with:
access_token: ${{ github.token }}
build_multisrc:
name: Build multisrc modules
needs: check_wrapper

View File

@ -10,6 +10,7 @@ jobs:
cancel:
runs-on: ubuntu-latest
steps:
- uses: styfle/cancel-workflow-action@0.8.0
- uses: styfle/cancel-workflow-action@0.9.1
with:
workflow_id: ${{ github.event.workflow.id }}
all_but_latest: true