From d1fa92c5b7e7c90947599aa25a9cf8abf0fcf28c Mon Sep 17 00:00:00 2001 From: Dan German Date: Wed, 10 Apr 2024 20:34:50 +0300 Subject: [PATCH] add concurrency to actions --- .github/workflows/build-linux.yml | 3 +++ .github/workflows/build-macos-13.yml | 3 +++ .github/workflows/build-macos.yml | 3 +++ .github/workflows/build-windows.yml | 3 +++ 4 files changed, 12 insertions(+) diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 35d4bc4..5c40746 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -11,6 +11,9 @@ env: BUILD_TYPE: Release jobs: build: + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/build-macos-13.yml b/.github/workflows/build-macos-13.yml index 610a4fc..22102a3 100644 --- a/.github/workflows/build-macos-13.yml +++ b/.github/workflows/build-macos-13.yml @@ -11,6 +11,9 @@ env: BUILD_TYPE: Release jobs: build: + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true runs-on: macos-13 steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index e5a99ca..bc49f41 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -12,6 +12,9 @@ env: jobs: build: runs-on: macos-14 + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true steps: - uses: actions/checkout@v3 with: diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 3677802..78065c5 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -9,6 +9,9 @@ env: BUILD_TYPE: Release jobs: build: + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true runs-on: windows-latest steps: - uses: actions/checkout@v3