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 60421a8 commit 5db4701
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deploy-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ jobs:
publish:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, 'Prepare for release') }}
strategy:
matrix:
java-version: [ 17 ]
steps:
- name: Set up Java
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java-version }}
java-version: '17'
distribution: 'temurin'
- name: Show java
run: |
echo $JAVA_HOME
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/merge-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@ jobs:
name: Build project
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, 'ci skip') }}
strategy:
matrix:
java-version: [ 17 ]
steps:
- name: Set up Java
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java-version }}
java-version: '17'
distribution: 'temurin'
- name: Show java
run: |
echo $JAVA_HOME
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/publish-maven-central.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 17 ]
steps:
- name: Set up Java
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java-version }}
java-version: '17'
distribution: 'temurin'
- name: Show java
run: |
echo $JAVA_HOME
Expand Down

0 comments on commit 5db4701

Please sign in to comment.