Skip to content

Commit

Permalink
chore(workflows): add Show Toolchain
Browse files Browse the repository at this point in the history
and add version 18.0.2+101 to pom.xml

See issue #525
  • Loading branch information
RalfBarkow committed Jun 5, 2024
1 parent d4e1aa3 commit 8d0b93d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/java-ci-with-maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
with:
java-version: 18.0.2+101
distribution: temurin
- name: Show Toolchain
run: cat ~/.m2/toolchains.xml
- name: Build with Maven
run: mvn -B package --file pom.xml
- run: mkdir staging && cp target/*.jar target/*.exe staging
Expand All @@ -40,6 +42,8 @@ jobs:
with:
java-version: 18.0.2+101
distribution: temurin
- name: Show Toolchain
run: cat ~/.m2/toolchains.xml
- name: Build with Maven
run: mvn -B package --file pom.xml
- run: mkdir staging && cp target/*.dmg staging
Expand Down
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@
<version>[8, 11, 17, 21]</version>
<vendor>temurin</vendor>
</jdk>
<jdk>
<version>18.0.2+101</version>
<vendor>temurin</vendor>
</jdk>
</toolchains>
</configuration>
</plugin>
Expand Down

0 comments on commit 8d0b93d

Please sign in to comment.