Skip to content

Commit

Permalink
Cache maven dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
RappyTV committed Nov 3, 2024
1 parent 2d8f711 commit dfe9cb7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/reposilite.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Publish
# OR, publish per each commit
on:
push:
branches: [ master ]
Expand All @@ -15,6 +14,13 @@ jobs:
with:
java-version: 21
distribution: 'corretto'
- name: Cache Maven dependencies
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- uses: s4u/[email protected]
with:
servers: |
Expand Down

0 comments on commit dfe9cb7

Please sign in to comment.