Skip to content

Commit

Permalink
Add concurrency configuration to the build job
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Feb 4, 2023
1 parent af4bb71 commit f90a565
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ on:
- '*.txt'
- '.all-contributorsrc'

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

jobs:
build:
name: Build on ${{ matrix.os }}
Expand All @@ -46,6 +50,8 @@ jobs:

- name: Build with Maven
run: mvn -B clean verify -Dno-format

shell: bash

- name: Build with Maven (Native)
run: mvn -B verify -Dnative -Dquarkus.native.container-build -Dnative.surefire.skip
shell: bash

0 comments on commit f90a565

Please sign in to comment.