mirror of
https://github.com/ViaVersion/ViaForge.git
synced 2025-01-08 19:38:33 +01:00
Implement GH cache to CI. (#74)
This commit is contained in:
parent
7594239138
commit
9f4c642b5a
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
@ -15,6 +15,15 @@ jobs:
|
||||
java-version: 8
|
||||
distribution: 'temurin'
|
||||
check-latest: true
|
||||
- name: Cache Dependencies
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
~/.gradle/wrapper
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew shadowJar
|
||||
- name: Upload Build Artifacts
|
||||
|
Loading…
Reference in New Issue
Block a user