Use native concurrency groups in build workflow

The cancel-workflow-action step was likely added before native concurrency groups existed
This commit is contained in:
Niko Savola 2026-06-05 11:58:37 +03:00
parent 6270877110
commit af7df87e0e
No known key found for this signature in database
1 changed files with 4 additions and 2 deletions

View File

@ -12,6 +12,10 @@ on:
release:
types: [published]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ${{ matrix.os }}
@ -47,8 +51,6 @@ jobs:
haskell: true
large-packages: true
- uses: hmarr/debug-action@v3
- name: Cancel Workflow Action
uses: styfle/cancel-workflow-action@0.13.1
- uses: actions/checkout@v6
- name: ccache
if: matrix.os != 'ubuntu-24.04-arm'