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

This commit is contained in:
2025-09-30 22:54:07 +02:00
parent a4733d073e
commit 43856aefbc

View File

@@ -20,7 +20,7 @@ jobs:
build:
strategy:
matrix:
java: [ '17' ]
java: [ '21' ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
@@ -32,7 +32,7 @@ jobs:
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'oracle'
distribution: 'temurin'
- uses: actions/cache@v3
with:
path: |
@@ -51,7 +51,7 @@ jobs:
deploy:
strategy:
matrix:
java: [ '17' ]
java: [ '21' ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
if: ${{ gitea.ref == 'refs/heads/master' && gitea.event_name == 'push' }}
@@ -65,7 +65,7 @@ jobs:
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'oracle'
distribution: 'temurin'
- name: make gradle wrapper executable
if: ${{ runner.os != 'Windows' }}
run: |