From 4af7a203b196a4e8c12469138d03911668a27ad3 Mon Sep 17 00:00:00 2001 From: Edo Date: Fri, 25 Nov 2022 15:32:47 +0000 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 21b1fa2..0ac1973 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,6 +8,11 @@ on: branches: - "*" types: [opened, synchronize, reopened] + +concurrency: + group: ${{ github.ref }} + cancel-in-progress: true + jobs: build: name: Build binaries @@ -18,14 +23,6 @@ jobs: - Debug - Release steps: - - name: Wait for previous workflows - if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop') - uses: softprops/turnstyle@v1 - with: - poll-interval-seconds: 10 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Check out files uses: actions/checkout@v3 with: