diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-06-06 13:27:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-06 13:27:24 +0200 |
commit | 6f2e90260fe1b46d25b4f5c86564badfef582d62 (patch) | |
tree | 4a346cd5994fd959d9bf97bab65e5058aff8a55b /.github | |
parent | 87c99b81ce3480941705743302d7c47ddee6dc37 (diff) | |
download | OneConfig-6f2e90260fe1b46d25b4f5c86564badfef582d62.tar.gz OneConfig-6f2e90260fe1b46d25b4f5c86564badfef582d62.tar.bz2 OneConfig-6f2e90260fe1b46d25b4f5c86564badfef582d62.zip |
Fix loom cache
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/checks.yml | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 3437ddd..7f7499d 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -35,24 +35,25 @@ jobs: distribution: temurin cache: gradle - - name: "Cache Loom" + - name: Cache Loom + id: cache uses: actions/cache@v2 with: path: | - ./gradle/loom-cache - key: ${{ runner.os }}-loom-cache-oneconfig-jdk17-${{ hashFiles('./build.gradle.kts') }} + ./.gradle/loom-cache + key: ${{ runner.os }}-loom-cache-jdk17-${{ hashFiles('./build.gradle.kts') }} - - name: "Chmod Gradle" + - name: Chmod Gradle run: chmod +x ./gradlew - - name: "Setup Gradle" - if: hashFiles('.gradle/loom-cache/SETUP') == '' + - name: Setup Gradle + if: steps.cache.outputs.cache-hit != 'true' run: ./gradlew setupGradle --no-daemon - - name: "Build" + - name: Build run: ./gradlew build --no-daemon - - name: "Upload Build Artifacts" + - name: Upload Build Artifacts uses: actions/upload-artifact@v2 with: name: ${{ matrix.version }} Artifacts |