[CI] Make sure gradle checks if the artifact cache is up to date

This commit is contained in:
hartie95 2024-02-07 22:41:11 +01:00
parent 46048fd434
commit 59e2d2b4ce

View File

@ -34,10 +34,10 @@ jobs:
~/.gradle/wrapper
./.gradle/loom-cache
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle', 'gradle.properties', 'gradle/wrapper/gradle-wrapper.properties', '**/*.accesswidener') }}
# restore-keys: |
# ${{ runner.os }}-gradle-
restore-keys: |
${{ runner.os }}-gradle-
- name: Run Gradle
run: ./gradlew && ./gradlew shadowJar
run: ./gradlew --refresh-dependencies && ./gradlew --refresh-dependencies shadowJar
- name: Upload build
uses: actions/upload-artifact@v3
with: