Skip to content

Commit

Permalink
File sync from s4u/.github
Browse files Browse the repository at this point in the history
  • Loading branch information
Github Action committed Nov 9, 2020
1 parent 9734f2d commit 974b2b1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gh-pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ jobs:
steps:
- uses: actions/checkout@v2.3.4

- uses: actions/setup-java@v1.4.3
with:
java-version: 8

- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: maven-site-deploy-${{ hashFiles('**/pom.xml') }}
restore-keys: maven-site-deploy-

- uses: actions/setup-java@v1.4.3
with:
java-version: 8

- uses: s4u/maven-settings-action@v2.2.0
with:
sonatypeSnapshots: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/gh-pages-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ jobs:
steps:
- uses: actions/checkout@v2.3.4

- uses: actions/setup-java@v1.4.3
with:
java-version: 8

- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: maven-site-test-${{ hashFiles('**/pom.xml') }}
restore-keys: maven-site-test-

- uses: actions/setup-java@v1.4.3
with:
java-version: 8

- uses: s4u/maven-settings-action@v2.2.0
with:
sonatypeSnapshots: true
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,12 @@ jobs:

- uses: actions/cache@v2.1.3
with:
path: ~/.m2/repository
path: |
~/.m2/repository
~/.sonar/cache
key: ubuntu-latest-jdk11-${{ hashFiles('**/pom.xml') }}
restore-keys: ubuntu-latest-jdk11-

- uses: actions/cache@v2.1.3
with:
path: ~/.sonar/cache
key: sonar-cache
restore-keys: sonar-cache

- uses: actions/setup-java@v1.4.3
with:
java-version: 11
Expand Down

0 comments on commit 974b2b1

Please sign in to comment.