Skip to content

Commit

Permalink
setup-java action to v4
Browse files Browse the repository at this point in the history
Signed-off-by: Finn Carroll <[email protected]>
  • Loading branch information
finnegancarroll committed Sep 11, 2024
1 parent bda7881 commit 67aed2f
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ jobs:

steps:
# This step uses the setup-java Github action: https://github.com/actions/setup-java
- name: Set Up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
- name: Set up JDK for build and test
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: temurin # Temurin is a distribution of adoptium
java-version: 21
# This step uses the checkout Github action: https://github.com/actions/checkout
- name: Checkout Branch
uses: actions/checkout@v2
Expand All @@ -60,7 +61,7 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
- uses: actions/upload-artifact@v3
with:
name: async-plugin-linux-${{ matrix.java }}
name: async-plugin-linux-21
path: ${{ steps.step-build-test-linux.outputs.build-test-linux }}
if-no-files-found: error

Expand Down Expand Up @@ -145,8 +146,9 @@ jobs:
steps:
# This step uses the setup-java Github action: https://github.com/actions/setup-java
- name: Set Up JDK 21
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: temurin # Temurin is a distribution of adoptium
java-version: 21
# This step uses the checkout Github action: https://github.com/actions/checkout
- name: Checkout Branch
Expand Down Expand Up @@ -174,8 +176,9 @@ jobs:
steps:
# This step uses the setup-java Github action: https://github.com/actions/setup-java
- name: Set Up JDK 21
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: temurin # Temurin is a distribution of adoptium
java-version: 21
# This step uses the checkout Github action: https://github.com/actions/checkout
- name: Checkout Branch
Expand Down

0 comments on commit 67aed2f

Please sign in to comment.