Update gradle setup action and GHA runner OS version (#44)

This commit is contained in:
Raven Szewczyk
2024-12-26 16:18:02 +01:00
committed by GitHub
parent 7f626aef08
commit 0e6acf14d2
3 changed files with 20 additions and 13 deletions
+9 -5
View File
@@ -24,7 +24,7 @@ on:
jobs:
build-and-test:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Install Ubuntu dependencies
run: |
@@ -41,9 +41,6 @@ jobs:
path: .gtnh-workflows
fetch-depth: 0
- name: Validate gradle wrapper checksum
uses: gradle/actions/wrapper-validation@v3
- name: Set up JDK versions
uses: actions/setup-java@v4
with:
@@ -52,7 +49,14 @@ jobs:
21
17
distribution: 'zulu'
cache: gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
build-scan-publish: true
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
build-scan-terms-of-use-agree: "yes"
validate-wrappers: true
- name: Grant execute permission for gradlew
run: chmod +x gradlew