Skip to content

Commit

Permalink
Fixes #61 - Update to Java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
Automated workflow committed Oct 30, 2023
1 parent 617079e commit f71ee64
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 30 deletions.
33 changes: 5 additions & 28 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,40 +7,17 @@ on:
- 'v*'
pull_request:
branches:
- current
- '*'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
java: [ '17' ]
os: [ubuntu-latest]
runs-on: ubuntu-latest
steps:
- name: Checkout Sources
uses: actions/checkout@v1
- name: Setup Java
- name: Set up Java 21
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
java-version: 21
- name: Build with Maven
run: mvn --no-transfer-progress install
sonarcloud:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Java
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 17
- name: Analyze with SonarCloud
run: |
mvn -B -ntp install verify site \
sonar:sonar -Dsonar.projectKey=manorrock_herring \
-Dsonar.organization=manorrock-1 -Dsonar.host.url=https://sonarcloud.io \
-Dsonar.login=${{ secrets.SONAR_TOKEN }}
run: mvn --ntp verify
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v1
- name: Set up Java
- name: Set up Java 21
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 17
java-version: 21
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
Expand Down

0 comments on commit f71ee64

Please sign in to comment.