Switch to JSON HBS template for defining OSGi configurations #455
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Build validation | |
name: Build | |
on: | |
push: | |
branches-ignore: | |
- master | |
- experimental/** | |
pull_request: | |
branches-ignore: | |
- master | |
- experimental/** | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
java: [11, 17, 21] | |
os: [ubuntu-latest] | |
distribution: [temurin] | |
include: | |
- java: 11 | |
os: windows-latest | |
distribution: temurin | |
- java: 11 | |
os: macos-latest | |
distribution: temurin | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: ${{ matrix.distribution }} | |
java-version: ${{ matrix.java }} | |
cache: maven | |
- name: Build and verify | |
run: ./mvnw -s ./.maven-settings.xml -Pcontinuous-integration -B -U -D"archetype.test.settingsFile=./.maven-settings.xml" -D"archetype.test.projectsDirectory=target/test-classes/projects-github" clean verify |