Cancel current CI actions when a PR is updated

This should help get build feedback more quickly when someone is iterating on a PR
This commit is contained in:
Sam Lantinga
2022-12-04 09:06:06 -08:00
parent 25e62193f4
commit f9ad84fd5d
11 changed files with 45 additions and 1 deletions

View File

@@ -2,6 +2,10 @@ name: Build (Emscripten)
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
emscripten:
runs-on: ubuntu-latest