From c5cb6ba44fe29f6c54202b3c64e61d402e893d3b Mon Sep 17 00:00:00 2001 From: Karl W Schulz Date: Sun, 21 Apr 2024 14:33:15 -0500 Subject: [PATCH] use concurrency instead of cancel-workflow-action Signed-off-by: Karl W Schulz --- .github/workflows/tarball.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tarball.yml b/.github/workflows/tarball.yml index 17e91c7007..68ea545799 100644 --- a/.github/workflows/tarball.yml +++ b/.github/workflows/tarball.yml @@ -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: