Skip to content

Commit 40f43c1

Browse files
Add a cache for dependencies
1 parent 765959b commit 40f43c1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/ci-build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,13 @@ jobs:
3333
with:
3434
java-version: ${{ matrix.java-version }}
3535
distribution: "adopt"
36-
- name: Clean GitHub's pre-baked Maven receipts
37-
run: find ~/.m2/repository -name _remote.repositories -exec rm -f {} \;
36+
cache: "maven"
3837
- name: Compile
3938
run: |
4039
if [ ${{ matrix.java-version }} == "8" ]; then
4140
export TRAVIS_JDK=openjdk8
4241
fi
43-
./scripts/run_no_prep_tests.sh compile test-compile
42+
./scripts/run_no_prep_tests.sh clean compile test-compile
4443
env:
4544
CI_ARGS: "--batch-mode -T 1C"
4645
MAVEN_OPTS: ${{ matrix.maven-opts }}

0 commit comments

Comments
 (0)