Skip to content

Commit

Permalink
ci: cache maven deps for deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
MiniDigger committed Aug 30, 2024
1 parent da7ec80 commit fb70465
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fb70465

Please sign in to comment.