From a31c892a9da04eed4522c32526ca275596cac1c8 Mon Sep 17 00:00:00 2001 From: Yihau Chen Date: Fri, 3 Feb 2023 11:54:29 +0800 Subject: [PATCH] ci: cancel previous Windows build when start a new one (#30086) --- .github/workflows/release-artifacts-auto.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release-artifacts-auto.yml b/.github/workflows/release-artifacts-auto.yml index 5b4c1385c1..e39dfdca7b 100644 --- a/.github/workflows/release-artifacts-auto.yml +++ b/.github/workflows/release-artifacts-auto.yml @@ -8,6 +8,10 @@ on: tags: - v[0-9]+.[0-9]+.[0-9]+ +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: release-artifacts: uses: ./.github/workflows/release-artifacts.yml