mirror of
https://github.com/Anime-Game-Servers/Grasscutter-Quests.git
synced 2024-11-23 04:29:42 +00:00
[CI] Make sure gradle checks if the artifact cache is up to date
This commit is contained in:
parent
46048fd434
commit
59e2d2b4ce
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user