Skip to content

Commit

Permalink
Update github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
JPercival committed Nov 19, 2023
1 parent 0425715 commit e8b1d27
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
permissions:
contents: write

concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
gradle:
runs-on: ubuntu-latest
Expand All @@ -15,11 +19,11 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
java-version: 19
- name: Setup and execute Gradle 'publish' task
uses: gradle/gradle-build-action@v2
with:
arguments: publish
arguments: check publish
build-root-directory: Src/java
env:
OSSRH_USERNAME: ${{ vars.OSSRH_USERNAME }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
java-version: 19
- name: Setup and execute Gradle 'check' task
uses: gradle/gradle-build-action@v2
with:
arguments: check -i
arguments: check
build-root-directory: Src/java
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
Expand Down

0 comments on commit e8b1d27

Please sign in to comment.