Skip to content

Commit 7eaec49

Browse files
authored
Minor tweaks. Add pipeline cancelation
1 parent fb29d59 commit 7eaec49

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
pull_request:
1010
env:
1111
BINARYEN_TOOLS: wasm-shell wasm-opt wasm-metadce wasm2js wasm-as wasm-dis wasm-ctor-eval wasm-reduce wasm-merge
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
14+
cancel-in-progress: true
1215
jobs:
1316
build:
1417
name: "Build with Emsdk:${{ matrix.emsdk }}"
@@ -56,7 +59,7 @@ jobs:
5659
# If not a PR, undo detached head
5760
git checkout "${GITHUB_REF:11}"
5861
fi
59-
git submodule update --init --remote --recursive
62+
git submodule update --init --remote --recursive --depth 1
6063
cd ./binaryen
6164
git log -n1
6265
cd ..

0 commit comments

Comments
 (0)