aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorYurii Soldak <[email protected]>2022-06-16 13:27:12 +0200
committerRon Evans <[email protected]>2022-06-16 22:26:29 +0200
commita4599ba539c8f048158d2da9c9d10ad1f871bc59 (patch)
tree9c957d844000b827e99877a6d1d9ed358f904600 /.github
parent4c647847247316bae553f9b9a8c7da4034edd199 (diff)
downloadtinygo-a4599ba539c8f048158d2da9c9d10ad1f871bc59.tar.gz
tinygo-a4599ba539c8f048158d2da9c9d10ad1f871bc59.zip
build: cancel in-progress builds
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-macos.yml4
-rw-r--r--.github/workflows/docker.yml4
-rw-r--r--.github/workflows/linux.yml4
-rw-r--r--.github/workflows/windows.yml4
4 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml
index 154e7dcf7..888716455 100644
--- a/.github/workflows/build-macos.yml
+++ b/.github/workflows/build-macos.yml
@@ -7,6 +7,10 @@ on:
- dev
- release
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
jobs:
build-macos:
name: build-macos
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index a4cf435d0..ed2496246 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -7,6 +7,10 @@ on:
push:
branches: [ dev, fix-docker-llvm-build ]
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
jobs:
push_to_registry:
name: build-push-dev
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index 6e9868f61..c6c13b54c 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -7,6 +7,10 @@ on:
- dev
- release
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
jobs:
build-linux:
# Build Linux binaries, ready for release.
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 896bdb775..44d637664 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -7,6 +7,10 @@ on:
- dev
- release
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
jobs:
build-windows:
runs-on: windows-2022