Skip to content

Commit

Permalink
change to use java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
li-advait committed Nov 8, 2024
1 parent 11da6b4 commit 9fa2de4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/deploy-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ jobs:
matrix:
java-version: [ 17 ]
steps:
- name: Set up Java
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java-version }}
- name: Show java
run: |
echo $JAVA_HOME
echo $PATH
java -version
- uses: actions/checkout@v2

- name: Cache Gradle Files
Expand All @@ -23,11 +32,6 @@ jobs:
restore-keys: |
${{ runner.os }}-gradle-
- name: Set up Java
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java-version }}

- name: Build
run: ./gradlew build

Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/publish-maven-central.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ jobs:
matrix:
java-version: [ 17 ]
steps:
- uses: actions/checkout@v2

- name: Set up Java
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java-version }}
java-version: ${{ matrix.java-version }}
- name: Show java
run: |
echo $JAVA_HOME
echo $PATH
java -version
- uses: actions/checkout@v2

- name: Build
run: ./gradlew build
Expand Down

0 comments on commit 9fa2de4

Please sign in to comment.