use concurrency instead of cancel-workflow-action

Signed-off-by: Karl W Schulz <karl.schulz@amd.com>
Cette révision appartient à :
Karl W Schulz
2024-04-21 14:33:15 -05:00
révisé par Karl W. Schulz
Parent f0ec149497
révision c5cb6ba44f
+4 -4
Voir le fichier
@@ -6,6 +6,10 @@ on:
- main
- 2.x
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
distbuild:
@@ -26,8 +30,6 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ steps.sha-mode.sha }}
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.12.1
- name: Install Python
uses: actions/setup-python@v5
with:
@@ -56,8 +58,6 @@ jobs:
env:
INSTALL_DIR: /tmp/foo2
steps:
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.12.1
- name: Access tarball
uses: actions/download-artifact@v4
with: