Skip to content

Commit

Permalink
Merge pull request #593 from xstefank/update-setup-java-action
Browse files Browse the repository at this point in the history
Update setup-java action to v4
  • Loading branch information
xstefank authored Dec 12, 2024
2 parents 21c72b3 + b508870 commit b615d99
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ jobs:
run: wget -O $RUNNER_TEMP/java_package.tar.gz ${{ matrix.java.download_url }}
- name: Set up JDK ${{ matrix.java.name }} (manually downloaded)
if: matrix.java.download_url != ''
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
distribution: 'jdkfile'
jdkFile: ${{ runner.temp }}/java_package.tar.gz
java-version: ${{ matrix.java.name }}
architecture: x64
- name: Set up JDK ${{ matrix.java.name }} (automatically downloaded)
if: matrix.java.download_url == ''
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java.name }}
distribution: temurin
Expand All @@ -80,7 +80,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/review-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions/setup-java@v2
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: temurin
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
name: smallrye-health
path: ~/.m2/repository/io/smallrye

- uses: actions/setup-java@v2
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
name: smallrye-health
path: ~/.m2/repository/io/smallrye

- uses: actions/setup-java@v2
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
Expand Down

0 comments on commit b615d99

Please sign in to comment.