From b68e76bbace24528d0c4d8c75ac9b706a94b0369 Mon Sep 17 00:00:00 2001 From: Alexander <4584443+DragonStuff@users.noreply.github.com> Date: Sat, 28 Aug 2021 11:10:15 +0900 Subject: [PATCH] fix(ci): only cancel previous in-progress workflow of the same group --- .github/workflows/binary_test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/binary_test.yml b/.github/workflows/binary_test.yml index 467332359..87e3347a0 100644 --- a/.github/workflows/binary_test.yml +++ b/.github/workflows/binary_test.yml @@ -5,10 +5,6 @@ on: pull_request: workflow_dispatch: [] -concurrency: - group: ${{ github.head_ref }}/binary_test - cancel-in-progress: true - jobs: build: @@ -36,6 +32,10 @@ jobs: - goarch: s390x goos: windows + concurrency: + group: ${{ github.head_ref }}/binary_test/${{ matrix.goos }}/${{ matrix.goarch }} + cancel-in-progress: true + steps: - name: Check out code into the Go module directory