mirror of
https://github.com/ViaVersion/ViaForge.git
synced 2025-01-23 21:51:28 +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
|
java-version: 8
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
check-latest: true
|
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
|
- name: Build with Gradle
|
||||||
run: ./gradlew shadowJar
|
run: ./gradlew shadowJar
|
||||||
- name: Upload Build Artifacts
|
- name: Upload Build Artifacts
|
||||||
|
Loading…
Reference in New Issue
Block a user