diff options
| author | Jorge O. Castro <jorge.castro@gmail.com> | 2024-12-02 22:52:48 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-02 22:52:48 -0500 |
| commit | 90c3f2c60a127e440e94d621e65fb8aee14dcc92 (patch) | |
| tree | 31cb131974493eff54243cdec24c4adeb01513a0 /.github/workflows | |
| parent | 45dad42de4c0fbcf3941bf455dc055427e976053 (diff) | |
| download | AeroCore-OS-90c3f2c60a127e440e94d621e65fb8aee14dcc92.tar.gz AeroCore-OS-90c3f2c60a127e440e94d621e65fb8aee14dcc92.zip | |
feat(ci): add concurrency (#38)
This makes it so that inprogress builds are cancelled when you make a new push. Matches the rest of ublue.
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a61ef2d..b6d3598 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,6 +18,10 @@ env: MY_IMAGE_DESC: "My Customized Universal Blue Image" IMAGE_REGISTRY: "ghcr.io/${{ github.repository_owner }}" # do not edit +concurrency: + group: ${{ github.workflow }}-${{ github.ref || github.run_id }}-${{ inputs.brand_name}}-${{ inputs.stream_name }} + cancel-in-progress: true + jobs: build_push: name: Build and push image |
