Update java version on CI
All checks were successful
Test and Deploy / build (21, ubuntu-latest) (push) Successful in 11m22s
Test and Deploy / deploy (21, ubuntu-latest) (push) Has been skipped
Test and Deploy / build (21, ubuntu-latest) (pull_request) Successful in 11m16s
Test and Deploy / deploy (21, ubuntu-latest) (pull_request) Has been skipped
All checks were successful
Test and Deploy / build (21, ubuntu-latest) (push) Successful in 11m22s
Test and Deploy / deploy (21, ubuntu-latest) (push) Has been skipped
Test and Deploy / build (21, ubuntu-latest) (pull_request) Successful in 11m16s
Test and Deploy / deploy (21, ubuntu-latest) (pull_request) Has been skipped
This commit is contained in:
@@ -20,7 +20,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
java: [ '17' ]
|
java: [ '21' ]
|
||||||
os: [ ubuntu-latest ]
|
os: [ ubuntu-latest ]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
@@ -32,7 +32,7 @@ jobs:
|
|||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
distribution: 'oracle'
|
distribution: 'temurin'
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
@@ -51,7 +51,7 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
java: [ '17' ]
|
java: [ '21' ]
|
||||||
os: [ ubuntu-latest ]
|
os: [ ubuntu-latest ]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
if: ${{ gitea.ref == 'refs/heads/master' && gitea.event_name == 'push' }}
|
if: ${{ gitea.ref == 'refs/heads/master' && gitea.event_name == 'push' }}
|
||||||
@@ -65,7 +65,7 @@ jobs:
|
|||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
distribution: 'oracle'
|
distribution: 'temurin'
|
||||||
- name: make gradle wrapper executable
|
- name: make gradle wrapper executable
|
||||||
if: ${{ runner.os != 'Windows' }}
|
if: ${{ runner.os != 'Windows' }}
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user