Skip to content

Commit

Permalink
build(ci): update action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
theborakompanioni committed Jan 20, 2024
1 parent 442c1e8 commit cf1323e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ jobs:
- name: Print Java Version
run: java -version # (v8 does not understand `--version`)

- name: Cache Maven packages
uses: actions/cache@v2
- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify -Dgpg.skip=true
run: mvn --batch-mode --update-snapshots verify -Dgpg.skip=true

0 comments on commit cf1323e

Please sign in to comment.