Bump actions/setup-java from 4.3.0 to 4.4.0 #1919
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
name: WindowBuilder verification build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
check-dash-licenses: | |
uses: eclipse-dash/dash-licenses/.github/workflows/mavenLicenseCheck.yml@90ebdf14dff066293b65b9d3ca99c8fb90d5222b # 1.1.0 | |
with: | |
projectId: tools.windowbuilder | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
java: [ 17, 21 ] | |
runs-on: ${{ matrix.os }} | |
name: OS ${{ matrix.os }} Java ${{ matrix.java }} compile | |
timeout-minutes: 90 | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK 17/21 | |
uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 | |
with: | |
distribution: 'temurin' # See 'Supported distributions' for available options | |
java-version: ${{ matrix.java }} | |
cache: 'maven' | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 | |
with: | |
maven-version: 3.9.2 | |
- name: Build with Maven | |
uses: coactions/setup-xvfb@b6b4fcfb9f5a895edadc3bc76318fae0ac17c8b3 | |
with: | |
run: >- | |
mvn -V -B -fae -ntp clean verify | |
- name: Upload Test Results for Java-${{ matrix.java }} | |
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 | |
if: always() | |
with: | |
name: test-results-${{ matrix.os }}-java${{ matrix.java }} | |
if-no-files-found: error | |
path: | | |
${{ github.workspace }}/**/target/surefire-reports/*.xml |