From 87c99b81ce3480941705743302d7c47ddee6dc37 Mon Sep 17 00:00:00 2001 From: DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> Date: Mon, 6 Jun 2022 13:19:37 +0200 Subject: cache loom --- .github/workflows/checks.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index efb9e0c..3437ddd 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -13,14 +13,14 @@ concurrency: jobs: build: - name: "Build" + name: Build strategy: matrix: version: - 1.8.9-forge - runs-on: self-hosted + runs-on: ubuntu-latest steps: - name: Checkout @@ -34,6 +34,13 @@ jobs: java-version: 17 distribution: temurin cache: gradle + + - name: "Cache Loom" + uses: actions/cache@v2 + with: + path: | + ./gradle/loom-cache + key: ${{ runner.os }}-loom-cache-oneconfig-jdk17-${{ hashFiles('./build.gradle.kts') }} - name: "Chmod Gradle" run: chmod +x ./gradlew -- cgit