Skip to content

Commit

Permalink
github action: cancel previous runs.
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamer2368 committed Dec 23, 2022
1 parent 1703291 commit e9ae975
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
options: --user 1001 --privileged
name: CPU-test
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout code
uses: actions/checkout@v3
- name: Cmake
Expand All @@ -36,6 +40,10 @@ jobs:
options: --user 1001 --privileged
name: Optimization-gradient-test
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout code
uses: actions/checkout@v3
- name: Cmake
Expand All @@ -56,6 +64,10 @@ jobs:
options: --user 1001 --privileged
name: Optimization-test
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout code
uses: actions/checkout@v3
- name: Cmake
Expand Down

0 comments on commit e9ae975

Please sign in to comment.