fix(ci): only cancel previous in-progress workflow of the same group

This commit is contained in:
Alexander 2021-08-28 11:10:15 +09:00
parent 7107ded3cd
commit b68e76bbac

View File

@ -5,10 +5,6 @@ on:
pull_request: pull_request:
workflow_dispatch: [] workflow_dispatch: []
concurrency:
group: ${{ github.head_ref }}/binary_test
cancel-in-progress: true
jobs: jobs:
build: build:
@ -36,6 +32,10 @@ jobs:
- goarch: s390x - goarch: s390x
goos: windows goos: windows
concurrency:
group: ${{ github.head_ref }}/binary_test/${{ matrix.goos }}/${{ matrix.goarch }}
cancel-in-progress: true
steps: steps:
- name: Check out code into the Go module directory - name: Check out code into the Go module directory