fix: java version in gh action

This commit is contained in:
Peter253545 2024-07-01 16:58:16 +01:00
parent b4df3e92bc
commit e949e3d56d
No known key found for this signature in database
GPG key ID: 8E6D2330102AD16F
2 changed files with 3 additions and 3 deletions

View file

@ -9,10 +9,10 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Validate gradle wrapper - name: Validate gradle wrapper
uses: gradle/wrapper-validation-action@v1 uses: gradle/wrapper-validation-action@v1
- name: Setup JDK 17 - name: Setup JDK 21
uses: actions/setup-java@v1 uses: actions/setup-java@v1
with: with:
java-version: 17 java-version: 21
- name: Ensure gradlew is executable - name: Ensure gradlew is executable
run: chmod +x ./gradlew run: chmod +x ./gradlew
- name: Build with gradle - name: Build with gradle

View file

@ -23,7 +23,7 @@ jobs:
- name: Set up JDK - name: Set up JDK
uses: actions/setup-java@v1 uses: actions/setup-java@v1
with: with:
java-version: 17 java-version: 21
- name: Grant execute permission for gradlew - name: Grant execute permission for gradlew
run: chmod +x gradlew run: chmod +x gradlew