mirror of
https://github.com/PaperMC/Waterfall.git
synced 2025-02-10 17:01:22 +01:00
Cache Maven packages for faster builds
This commit is contained in:
parent
1e0c94c4e5
commit
69395de89d
9
.github/workflows/flamecord-build.yml
vendored
9
.github/workflows/flamecord-build.yml
vendored
@ -19,6 +19,13 @@ jobs:
|
||||
distribution: 'adopt'
|
||||
architecture: x64
|
||||
|
||||
- name: Cache Maven packages
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.m2
|
||||
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
|
||||
restore-keys: ${{ runner.os }}-m2
|
||||
|
||||
- name: Build Flamecord
|
||||
run: |
|
||||
git config --global user.email "you@example.com"
|
||||
@ -29,4 +36,4 @@ jobs:
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Flamecord-JDK${{ matrix.java }}
|
||||
path: Travertine-Proxy/bootstrap/target/Travertine.jar
|
||||
path: Travertine-Proxy/bootstrap/target/Travertine.jar
|
||||
|
Loading…
Reference in New Issue
Block a user