Skip to content

Commit

Permalink
workflow updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tcurdt committed May 12, 2021
1 parent 7b87887 commit d5ef1e6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,21 @@ jobs:
test:
strategy:
matrix:
java: [ 8, 14, 15 ]
java: [ 8, 16 ]
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v2

- name: Setup
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}

- name: Cache
uses: actions/cache@v2.1.5
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ jobs:
id: version

- name: Setup
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 14
distribution: 'zulu'
java-version: 16

- name: Build
run: mvn -B site
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/release-ossrh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,11 @@ jobs:
- name: Version
uses: tcurdt/action-verify-version-maven@main

- name: Setup
uses: actions/setup-java@v1
with:
java-version: 14

- name: Setup Maven Central
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with: # overwrite settings.xml
java-version: 14
distribution: 'zulu'
java-version: 16
server-id: ossrh
server-username: OSSRH_USERNAME
server-password: OSSRH_PASSWORD
Expand Down

0 comments on commit d5ef1e6

Please sign in to comment.