diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 117f719..ff7ad72 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -15,14 +15,16 @@ jobs: - name: Cache Dependencies uses: actions/cache@v4 with: - path: ~/.gradle/ - key: ${{ runner.os }}-build-aspirin-${{ hashFiles('**/build.gradle.kts') }} + path: | + ~/.gradle/caches + ~/.gradle/wrapper + key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} restore-keys: | - ${{ runner.os }}-build-aspirin- + ${{ runner.os }}-gradle- - name: Build with Gradle run: ./gradlew build - name: Upload Artifacts uses: actions/upload-artifact@v4 with: - name: artifact + name: Artifacts path: build/libs/