Skip to content

Commit

Permalink
Tune job cancellation
Browse files Browse the repository at this point in the history
  • Loading branch information
mraerino committed Aug 11, 2024
1 parent 87415e9 commit 51f2a66
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ env:
GLUON_RELEASE: v2021.1.2
PREVIEW_TARGETS: '["x86-64", "ar71xx-generic", "ar71xx-tiny"]'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
gather_targets:
name: Gather targets
Expand All @@ -33,6 +37,7 @@ jobs:
name: Build Images
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
target: ${{ fromJson(needs.gather_targets.outputs.targets) }}
steps:
Expand Down

0 comments on commit 51f2a66

Please sign in to comment.