From 99b1869a3c976426e4e9f221d17a1dc684ed7863 Mon Sep 17 00:00:00 2001 From: Jesper <93771679+Bjorkan@users.noreply.github.com> Date: Sun, 29 Oct 2023 13:15:39 +0100 Subject: [PATCH] Update release.yml Makes small adjustment to release.yml file to make the gradle cache it's own thing from the Setup Java. --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b88d6681..9acdf128 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,9 @@ jobs: with: java-version: '17' distribution: temurin - cache: gradle + + - name: Setup Gradle + uses: gradle/gradle-build-action@v2 - name: Validate Gradle Wrapper Integrity uses: gradle/wrapper-validation-action@v1 @@ -28,4 +30,4 @@ jobs: env: MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }} - run: ./gradlew build publishMods \ No newline at end of file + run: ./gradlew build publishMods