-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move caching into setup-java, correct READMEs
New setup-java version can cache local Maven repository for us, so make it so. Make READMEs go back to saying "mvn install" instead of "mvn package" because I forgot a single pom file needs to be installed into the local Maven repository for the build to work (then you can say "mvn package" for everything else).
- Loading branch information
Showing
6 changed files
with
12 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ on: | |
types: [opened, synchronize, reopened] | ||
workflow_dispatch: | ||
|
||
# Runs a build job as a check: | ||
# Runs a build job as a CI check: | ||
# - Builds VERDICT source & runs unit tests | ||
|
||
jobs: | ||
|
@@ -33,13 +33,7 @@ jobs: | |
with: | ||
distribution: ${{ matrix.distribution }} | ||
java-version: ${{ matrix.java-version }} | ||
|
||
- name: Set up Maven cache | ||
uses: actions/[email protected] | ||
with: | ||
path: ~/.m2/repository | ||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: ${{ runner.os }}-maven- | ||
cache: maven | ||
|
||
- name: Build VERDICT source | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,14 +60,7 @@ jobs: | |
with: | ||
distribution: ${{ matrix.distribution }} | ||
java-version: ${{ matrix.java-version }} | ||
|
||
- name: Set up Maven cache | ||
if: runner.os == 'Linux' | ||
uses: actions/[email protected] | ||
with: | ||
path: ~/.m2/repository | ||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: ${{ runner.os }}-maven- | ||
cache: maven | ||
|
||
- name: Build VERDICT source | ||
if: runner.os == 'Linux' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -105,13 +105,7 @@ jobs: | |
with: | ||
distribution: ${{ matrix.distribution }} | ||
java-version: ${{ matrix.java-version }} | ||
|
||
- name: Set up Maven cache | ||
uses: actions/[email protected] | ||
with: | ||
path: ~/.m2/repository | ||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: ${{ runner.os }}-maven- | ||
cache: maven | ||
|
||
- name: Build VERDICT source | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters