mirror of
https://github.com/Anime-Game-Servers/Grasscutter-Quests.git
synced 2024-11-26 22:10:26 +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/wrapper
|
||||||
./.gradle/loom-cache
|
./.gradle/loom-cache
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle', 'gradle.properties', 'gradle/wrapper/gradle-wrapper.properties', '**/*.accesswidener') }}
|
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle', 'gradle.properties', 'gradle/wrapper/gradle-wrapper.properties', '**/*.accesswidener') }}
|
||||||
# restore-keys: |
|
restore-keys: |
|
||||||
# ${{ runner.os }}-gradle-
|
${{ runner.os }}-gradle-
|
||||||
- name: Run Gradle
|
- name: Run Gradle
|
||||||
run: ./gradlew && ./gradlew shadowJar
|
run: ./gradlew --refresh-dependencies && ./gradlew --refresh-dependencies shadowJar
|
||||||
- name: Upload build
|
- name: Upload build
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user