Skip to content

Commit

Permalink
Update GH Actions steps
Browse files Browse the repository at this point in the history
Build with all relevant LTS JDKs
  • Loading branch information
kwin committed Apr 5, 2024
1 parent 77e0272 commit 9c68eca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
jdk: [8, 11, 16]
jdk: [11, 17, 21]
include:
# lengthy build steps should only be performed on linux with Java 11 (CodeCov analysis, deployment)
# lengthy build steps should only be performed on linux with Java 17 (Sonarcloud analysis, deployment)
- os: ubuntu-latest
jdk: 11
jdk: 17
isMainBuildEnv: true
namePrefix: 'Main '
fail-fast: false
Expand All @@ -26,9 +26,9 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Git Clone
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: ${{ matrix.jdk }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/biz.netcentric.maven.extension/maven-ext-repos-from-env/badge.svg)](https://maven-badges.herokuapp.com/maven-central/biz.netcentric.maven.extension/maven-ext-repos-from-env)
![Java CI/CD](https://github.com/Netcentric/maven-ext-repos-from-env/workflows/Java%20CI/CD/badge.svg)
[![Java CI/CD](https://github.com/Netcentric/maven-ext-repos-from-env/workflows/Java%20CI/CD/badge.svg)](https://github.com/Netcentric/maven-ext-repos-from-env/actions/workflows/maven.yml)
[![License](https://img.shields.io/badge/License-EPL%202.0-red.svg)](https://www.eclipse.org/legal/epl-v20.html) [![SonarCloud Status](https://sonarcloud.io/api/project_badges/measure?project=Netcentric_maven-ext-repos-from-env&metric=alert_status)](https://sonarcloud.io/dashboard?id=Netcentric_maven-ext-repos-from-env)
[![SonarCloud Coverage](https://sonarcloud.io/api/project_badges/measure?project=Netcentric_maven-ext-repos-from-env&metric=coverage)](https://sonarcloud.io/component_measures/metric/coverage/list?id=Netcentric_maven-ext-repos-from-env)

Expand Down

0 comments on commit 9c68eca

Please sign in to comment.