diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-06-06 13:19:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-06 13:19:37 +0200 |
commit | 87c99b81ce3480941705743302d7c47ddee6dc37 (patch) | |
tree | 56a59ec3c67fa9435e4134e35250151a036ca37d /.github/workflows | |
parent | e2edd13aeb9e22fa3badf360736858c13a1109e9 (diff) | |
download | OneConfig-87c99b81ce3480941705743302d7c47ddee6dc37.tar.gz OneConfig-87c99b81ce3480941705743302d7c47ddee6dc37.tar.bz2 OneConfig-87c99b81ce3480941705743302d7c47ddee6dc37.zip |
cache loom
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/checks.yml | 11 |
1 files 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 |