[maven-release-plugin] prepare for next development iteration #829
This file contains hidden or 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
| name: Build | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| paths-ignore: | |
| - '.gitignore' | |
| - 'CODEOWNERS' | |
| - 'LICENSE' | |
| - '*.md' | |
| - '*.adoc' | |
| - '*.txt' | |
| - '.all-contributorsrc' | |
| pull_request: | |
| paths-ignore: | |
| - '.gitignore' | |
| - 'CODEOWNERS' | |
| - 'LICENSE' | |
| - '*.md' | |
| - '*.adoc' | |
| - '*.txt' | |
| - '.all-contributorsrc' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| build: | |
| name: JDK ${{ matrix.java-version }} on ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ ubuntu-latest, windows-latest ] | |
| java-version: [ 17, 21, 25 ] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Prepare git | |
| run: git config --global core.autocrlf false | |
| if: startsWith(matrix.os, 'windows') | |
| - uses: actions/checkout@v6 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: ${{ matrix.java-version }} | |
| cache: 'maven' | |
| - name: Build with Maven | |
| run: mvn -B clean install -Dno-format | |
| build-native: | |
| name: Native / JDK ${{ matrix.java-version }} on ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ ubuntu-latest ] | |
| java-version: [ 17 ] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Prepare git | |
| run: git config --global core.autocrlf false | |
| if: startsWith(matrix.os, 'windows') | |
| - uses: actions/checkout@v6 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: ${{ matrix.java-version }} | |
| cache: 'maven' | |
| - name: Build with Maven (Native) | |
| run: mvn -B clean install -Dnative -Dquarkus.native.container-build -Dnative.surefire.skip | |
| build-samples: | |
| name: Samples / ${{ matrix.sample }} / JDK ${{ matrix.java-version }} on ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ ubuntu-latest ] | |
| java-version: [ 17 ] | |
| sample: | |
| - multiple-secure-mcp-http-servers | |
| - secure-mcp-sse-server | |
| - weather | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Prepare git | |
| run: git config --global core.autocrlf false | |
| if: startsWith(matrix.os, 'windows') | |
| - uses: actions/checkout@v6 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: ${{ matrix.java-version }} | |
| cache: 'maven' | |
| - name: Build sample - ${{ matrix.sample }} | |
| working-directory: './samples/${{ matrix.sample }}' | |
| run: mvn -B clean install |