Skip to content

Commit

Permalink
trying to use java action - (Task #79)
Browse files Browse the repository at this point in the history
using java action to setup java 17 correctly

---
Task #79: Update GitHub Actions Workflow Versions
  • Loading branch information
PhilMFischer committed Mar 28, 2024
1 parent 61c1fa8 commit dcf9e96
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ jobs:
# --------------------------------------------
- name: Setup - Checkout code
uses: actions/checkout@v2

- name: Setup - Java 17
uses: actions/setup-java@v2
with:
java-version: 17
distribution: "temurin"

# --------------------------------------------
# Run a quick sanity check if all commits are
Expand All @@ -53,6 +59,7 @@ jobs:
- name: Verify - Authors Sanity Check
uses: virtualsatellite/ci-actions/ci-verify-authors-action@v4


# -----------------------------------------------------
# Build, Assemble and Deploy Job
# -----------------------------------------------------
Expand All @@ -67,6 +74,12 @@ jobs:
# --------------------------------------------
- name: Setup - Checkout code
uses: actions/checkout@v2

- name: Setup - Java 17
uses: actions/setup-java@v2
with:
java-version: 17
distribution: "temurin"

# --------------------------------------------
# Setup caching for m2 repository
Expand Down Expand Up @@ -100,8 +113,6 @@ jobs:
# --------------------------------------------
- name: Setup - Prepare OS
uses: virtualsatellite/ci-actions/ci-setup-action@v5
with:
jdk: 11

# --------------------------------------------
# Development and Feature branches
Expand Down

0 comments on commit dcf9e96

Please sign in to comment.