Skip to content

Commit

Permalink
ci: update java version
Browse files Browse the repository at this point in the history
  • Loading branch information
David Gomes authored and davidgomesdev committed Sep 8, 2023
1 parent bb2ad9a commit a059110
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,18 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2

- name: Set up JDK 17
uses: actions/[email protected]
with:
java-version: '11'
distribution: 'adopt'
java-version: '17'
distribution: 'oracle'

- name: Validate tests
uses: gradle/gradle-build-action@4137be6a8bf7d7133955359dbd952c0ca73b1021
with:
arguments: "test"

- name: Build Quarkus
uses: gradle/gradle-build-action@4137be6a8bf7d7133955359dbd952c0ca73b1021
with:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,21 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Set up JDK 17
uses: actions/[email protected]
with:
java-version: '17'
distribution: 'oracle'

- name: Validate tests
uses: gradle/gradle-build-action@4137be6a8bf7d7133955359dbd952c0ca73b1021
with:
arguments: "test"

- name: Build Java Quarkus
run: "./gradlew quarkusBuild"

- name: Archive Java build
uses: thedoctor0/[email protected]
with:
Expand Down

0 comments on commit a059110

Please sign in to comment.