From 136018bcc0459a4ed010168670cac5495f70d8ef Mon Sep 17 00:00:00 2001 From: SpoonySimone <92180945+SpoonySimone@users.noreply.github.com> Date: Fri, 16 Feb 2024 23:19:30 +0100 Subject: [PATCH] Updated gradle.yml Attempt to make GitHub Actions compile faster --- .github/workflows/gradle.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index c4cc7f7..e53e507 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -13,11 +13,17 @@ jobs: distribution: 'adopt' cache: gradle + - name: Cache Gradle dependencies + uses: actions/cache@v4 + with: + path: ~/.gradle/caches + key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} + - name: Change wrapper permissions run: chmod +x ./gradlew - name: Build with Gradle wrapper - run: ./gradlew build + run: ./gradlew build --no-daemon - name: Upload artifact uses: actions/upload-artifact@v4