Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
c147ebda
Commit
c147ebda
authored
May 14, 2022
by
DancingSnow
Committed by
Melledy
May 17, 2022
Browse files
Cache gradle files
parent
20feb75c
Changes
1
Show whitespace changes
Inline
Side-by-side
.github/workflows/build.yml
View file @
c147ebda
...
@@ -25,6 +25,16 @@ jobs:
...
@@ -25,6 +25,16 @@ jobs:
with
:
with
:
distribution
:
temurin
distribution
:
temurin
java-version
:
'
17'
java-version
:
'
17'
-
name
:
Cache gradle files
uses
:
actions/cache@v2
with
:
path
:
|
~/.gradle/caches
~/.gradle/wrapper
./.gradle/loom-cache
key
:
${{ runner.os }}-gradle-${{ hashFiles('*.gradle', 'gradle.properties', '**/*.accesswidener') }}
restore-keys
:
|
${{ runner.os }}-gradle-
-
name
:
Run Gradle
-
name
:
Run Gradle
run
:
./gradlew && ./gradlew jar
run
:
./gradlew && ./gradlew jar
-
name
:
Upload build
-
name
:
Upload build
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment