Remove skjolber/maven-cache-github-action; set githubServer: false for maven-settings-action

This commit is contained in:
Darin Kelkhoff
2021-10-27 22:09:42 -05:00
parent 3a6f7f5efd
commit 5f287a7be0

View File

@ -24,13 +24,10 @@ jobs:
java-version: '17' java-version: '17'
distribution: 'adopt' distribution: 'adopt'
cache: maven cache: maven
- name: Restore Maven cache
uses: skjolber/maven-cache-github-action@v1
with:
step: restore
- name: maven-settings-action - name: maven-settings-action
uses: s4u/maven-settings-action@v2.4.1 uses: s4u/maven-settings-action@v2.4.1
with: with:
githubServer: false
servers: | servers: |
[{ [{
"id": "github", "id": "github",
@ -41,7 +38,3 @@ jobs:
run: cat /home/runner/.m2/settings.xml run: cat /home/runner/.m2/settings.xml
- name: Build with Maven - name: Build with Maven
run: mvn -B package --file pom.xml run: mvn -B package --file pom.xml
- name: Save Maven cache
uses: skjolber/maven-cache-github-action@v1
with:
step: save