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:
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