Skip to content

Commit 174e23c

Browse files
authored
[CI] Use concurrency setting instead of cancel action (#764)
1 parent 3c85c6e commit 174e23c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/unittests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- main
77
pull_request: {}
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
TFLite:
1115
runs-on: ubuntu-latest
@@ -60,10 +64,6 @@ jobs:
6064
runs-on: ubuntu-latest
6165
if: "!contains(github.event.head_commit.message, 'ci-skip')"
6266
steps:
63-
- name: Cancel Outdated Runs
64-
uses: styfle/cancel-workflow-action@0.10.1
65-
with:
66-
access_token: ${{ github.token }}
6767
- uses: actions/checkout@v3
6868
- uses: google-github-actions/auth@v1
6969
continue-on-error: true

0 commit comments

Comments
 (0)