Skip to content

Commit

Permalink
add java setup for maven in mac and win workers
Browse files Browse the repository at this point in the history
  • Loading branch information
celuchmarek committed Jan 29, 2024
1 parent cfcfb2d commit 52a1d89
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ jobs:
run: ./mvnw versions:set -DnewVersion=$(git describe --tags --abbrev=0 | sed -r 's/^v//g')
shell: bash

- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: "17.0.7+7"

- name: Cache local Maven repository and JDK cache
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -170,6 +175,11 @@ jobs:
run: ./mvnw versions:set -DnewVersion=$(git describe --tags --abbrev=0 | sed -r 's/^v//g')
shell: bash

- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: "17.0.7+7"

- name: Cache local Maven repository and JDK cache
uses: actions/cache@v3
with:
Expand Down

0 comments on commit 52a1d89

Please sign in to comment.