Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions .github/workflows/it-template.yaml

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added it to each pull request as well, but would be enough to just execute on the pr's (maven.yml) or even only on the nightly test-run builds.

Because it's still lightweight, i added it everywhere to see a clear picture, when something breaks.

Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,24 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [ '17' ]
include:
- java: '21'
experimental: true
- java: '25'
experimental: true
continue-on-error: ${{ matrix.experimental || false }}
steps:
- uses: actions/checkout@v4

- uses: actions/setup-java@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
java-version: ${{ matrix.java }}
cache: 'maven'

- name: Build with maven
Expand Down
21 changes: 18 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,30 @@ jobs:

runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
Comment thread
kybercryst4l marked this conversation as resolved.
include:
- java: '17'
goal: deploy
- java: '21'
goal: verify
experimental: true
- java: '25'
goal: verify
experimental: true

continue-on-error: ${{ matrix.experimental || false }}

steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: '17'
java-version: ${{ matrix.java }}
distribution: 'temurin'
- name: Build with Maven
run: mvn clean deploy --no-transfer-progress --batch-mode --settings etc/settings.xml -Dfmt.skip=true;
run: mvn clean ${{ matrix.goal }} --no-transfer-progress --batch-mode --settings etc/settings.xml -Dfmt.skip=true;
env:
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}
16 changes: 14 additions & 2 deletions .github/workflows/maven_on_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,24 @@ jobs:

runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
java: ['17']
include:
- java: '21'
experimental: true
- java: '25'
experimental: true

continue-on-error: ${{ matrix.experimental || false }}

steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: '17'
java-version: ${{ matrix.java }}
distribution: 'temurin'
- name: Build with Maven
run: mvn clean verify --no-transfer-progress --batch-mode --settings etc/settings.xml -Dmaven.javadoc.skip=true -Dfmt.skip=true;