ci: cancel superseded main release builds (#4342)

This commit is contained in:
Zhengchao An
2026-07-07 05:47:06 +08:00
committed by GitHub
parent 6f613317f6
commit 8b2c67a100
+4
View File
@@ -63,6 +63,10 @@ on:
permissions: permissions:
contents: read contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.ref || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'push' }}
env: env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1 RUST_BACKTRACE: 1