Skip to content

Commit

Permalink
added Java caching to DevVer + fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ericdeback committed May 23, 2024
1 parent f284f26 commit 41f0b14
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/CICD_Main_Pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ jobs:
profile: [ Localtests ]
environment: [ DevVer ]
steps:
- uses: actions/checkout@v4
- name: Checkout code
uses: actions/checkout@v4

- name: Cache Java
- name: Cache JDK
id: cache-java
uses: actions/cache@v4
with:
path: ~/.m2/jdk
path: ~/action-runner/_work/_tool/Java_Temurin-Hotspot_jdk/19.0.2-7/x64
key: ${{ runner.os }}-java-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-java-
Expand All @@ -36,7 +37,6 @@ jobs:
with:
java-version: '19'
distribution: 'temurin'
cache: 'm2'

- name: Verify Java version
run: java -version
Expand Down

0 comments on commit 41f0b14

Please sign in to comment.