mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-11-21 01:21:54 +08:00
ci: cache maven deps for deploy action
This commit is contained in:
parent
da7ec80d2e
commit
fb70465cd5
8
.github/workflows/deploy.yml
vendored
8
.github/workflows/deploy.yml
vendored
@ -70,6 +70,14 @@ jobs:
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pnpm-store-
|
||||
|
||||
- name: Cache Maven Deps
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: $GITHUB_WORKSPACE/.m2/repository
|
||||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-maven-
|
||||
|
||||
- name: Build backend
|
||||
working-directory: backend
|
||||
run: mvn --batch-mode --errors --fail-at-end --show-version --no-transfer-progress install
|
||||
|
Loading…
Reference in New Issue
Block a user