diff options
Diffstat (limited to '.github/workflows/checks.yml')
-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 |