Skip to content

Commit

Permalink
Merge pull request #30885 from gastaldi/concurrency
Browse files Browse the repository at this point in the history
Add concurrency configuration to the GitHub Action workflows
  • Loading branch information
gsmet committed Feb 6, 2023
2 parents 85fd385 + 0f48e9b commit 117817b
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ on:
- '*.txt'
- '.all-contributorsrc'

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

defaults:
run:
shell: bash

jobs:
build:
name: Build on ${{ matrix.os }}
Expand All @@ -48,4 +56,4 @@ jobs:
run: mvn -B clean verify -Dno-format

- name: Build with Maven (Native)
run: mvn -B verify -Dnative -Dquarkus.native.container-build -Dnative.surefire.skip
run: mvn -B verify -Dnative -Dquarkus.native.container-build -Dnative.surefire.skip
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ on:
paths:
- '.github/project.yml'

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

defaults:
run:
shell: bash

jobs:
release:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ env:

ECOSYSTEM_CI_REPO_PATH: quarkiverse-{extension.id}

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

defaults:
run:
shell: bash

jobs:
build:
name: "Build against latest Quarkus snapshot"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ on:
paths:
- '.github/project.yml'

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

defaults:
run:
shell: bash

jobs:
release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 117817b

Please sign in to comment.