Skip to content

Commit

Permalink
Update all setup-java actions
Browse files Browse the repository at this point in the history
Signed-off-by: Finn Carroll <[email protected]>
  • Loading branch information
finnegancarroll committed Sep 13, 2024
1 parent 67aed2f commit 6fd20f5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ jobs:
contents: write

steps:
- uses: actions/setup-java@v3
- name: Set Up JDK
uses: actions/setup-java@v4
with:
distribution: temurin # Temurin is a distribution of adoptium
java-version: 11
java-version: 21
- uses: actions/checkout@v3
- uses: aws-actions/configure-aws-credentials@v1
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/multi-node-test-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: Multi node test workflow

env:
java_version: 21
# This workflow is triggered on pull requests to master
on:
pull_request:
Expand Down Expand Up @@ -35,10 +33,12 @@ 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
- name: Set Up JDK
uses: actions/setup-java@v4
with:
java-version: ${{ env.java_version }}
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 Down
5 changes: 3 additions & 2 deletions .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ jobs:
- name: Checkout Branch
uses: actions/checkout@v2
# 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
uses: actions/setup-java@v4
with:
distribution: temurin # Temurin is a distribution of adoptium
java-version: ${{ matrix.java }}

# Building zip, deb and rpm files
Expand Down

0 comments on commit 6fd20f5

Please sign in to comment.