Skip to content

Commit

Permalink
ci: update workflows to use Java 17, drop Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
poikilotherm committed Aug 21, 2023
1 parent b32b96f commit b37a8f9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven-branch-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [11,17]
java: [17]
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maven-pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [11,17]
java: [17]
steps:
- uses: actions/checkout@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Set up Java
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '17'
distribution: 'adopt'
- name: Cache Maven packages
uses: actions/cache@v3
Expand All @@ -29,7 +29,7 @@ jobs:
- name: Set up Maven Central Repository
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '17'
distribution: 'adopt'
server-id: ossrh
server-username: MAVEN_USERNAME
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maven-security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Maven Central Repository
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '17'
distribution: 'adopt'
- name: Cache Maven packages
uses: actions/cache@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/maven-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
if: ${{ !contains(github.event.head_commit.message, '[maven-release-plugin]') }}
strategy:
matrix:
java: [11,17]
java: [17]
steps:
- uses: actions/checkout@v3
- name: Set up Maven Central Repository
Expand All @@ -29,7 +29,7 @@ jobs:
- name: Build, test, verify and publish snapshot
run: mvn -B verify -Djdk.version=${{ matrix.java }}
- name: Publish snapshot
if: ${{ matrix.java == '11' }}
if: ${{ matrix.java == '17' }}
run: mvn deploy -DskipAnalysis -DskipUT -DskipIT -Djdk.version=${{ matrix.java }}
env:
MAVEN_USERNAME: ${{ secrets.DATAVERSEBOT_SONATYPE_USERNAME }}
Expand Down

0 comments on commit b37a8f9

Please sign in to comment.