CI: Cancel previous builds if new commit is pushed

This commit is contained in:
Max Hilbrunner
2021-08-24 20:49:06 +02:00
parent ca7f53dd25
commit 40bb1ded7e
7 changed files with 28 additions and 0 deletions

View File

@@ -9,6 +9,10 @@ env:
EM_VERSION: 2.0.27
EM_CACHE_FOLDER: 'emsdk-cache'
concurrency:
group: ci-${{github.actor}}-${{github.head_ref || concat(github.ref, github.run_number)}}-${{github.ref}}-javascript
cancel-in-progress: true
jobs:
javascript-template:
runs-on: "ubuntu-20.04"