Skip to content

Commit bc7a739

Browse files
authored
Merge pull request #2043 from IntelPython/add-cancelling-of-prev-runs
Add cancelling of previously run jobs for building conda packages
2 parents 5b119c1 + 425136c commit bc7a739

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/conda-package.yml

+10
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ jobs:
2626
matrix:
2727
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
2828
steps:
29+
- name: Cancel Previous Runs
30+
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
31+
with:
32+
access_token: ${{ github.token }}
33+
2934
- uses: actions/[email protected]
3035
with:
3136
fetch-depth: 0
@@ -82,6 +87,11 @@ jobs:
8287
matrix:
8388
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
8489
steps:
90+
- name: Cancel Previous Runs
91+
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
92+
with:
93+
access_token: ${{ github.token }}
94+
8595
- uses: actions/[email protected]
8696
with:
8797
fetch-depth: 0

0 commit comments

Comments
 (0)