CI: setup-java v5 and Gradle build cache #20

Merged
selimaj-dev merged 2 commits from ci-caching into master 2026-09-26 02:10:44 +00:00
3 changed files with 10 additions and 2 deletions
Showing only changes of commit 2ecb4f80ea - Show all commits
+4 -1
View File
@@ -17,8 +17,11 @@ jobs:
with: with:
submodules: true submodules: true
# The JDK comes from the runner's tool cache. `cache: gradle` stores Gradle's
# dependencies, Loom's Minecraft cache and the build cache in the runner's
# actions cache.
- name: Set up Java 21 - name: Set up Java 21
uses: actions/setup-java@v4 uses: actions/setup-java@v5
with: with:
distribution: temurin distribution: temurin
java-version: 21 java-version: 21
+4 -1
View File
@@ -44,8 +44,11 @@ jobs:
fi fi
echo "Building Saturn Client $MOD_VERSION" echo "Building Saturn Client $MOD_VERSION"
# The JDK comes from the runner's tool cache. `cache: gradle` stores Gradle's
# dependencies, Loom's Minecraft cache and the build cache in the runner's
# actions cache.
- name: Set up Java 21 - name: Set up Java 21
uses: actions/setup-java@v4 uses: actions/setup-java@v5
with: with:
distribution: temurin distribution: temurin
java-version: 21 java-version: 21
+2
View File
@@ -1,5 +1,7 @@
org.gradle.jvmargs=-Xmx3G org.gradle.jvmargs=-Xmx3G
org.gradle.parallel=true org.gradle.parallel=true
# Reuse task outputs (e.g. compiled classes) when inputs haven't changed.
org.gradle.caching=true
# IntelliJ IDEA is not yet fully compatible with configuration cache, see: https://github.com/FabricMC/fabric-loom/issues/1349 # IntelliJ IDEA is not yet fully compatible with configuration cache, see: https://github.com/FabricMC/fabric-loom/issues/1349
org.gradle.configuration-cache=false org.gradle.configuration-cache=false