[skip ci] Update cancel-workflow-action
This commit is contained in:
parent
d058e32c2c
commit
01f877ac0f
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue