Skip to content

Merge pull request #349 from jenkinsci/dependabot/maven/io.jenkins.pl… #663

Merge pull request #349 from jenkinsci/dependabot/maven/io.jenkins.pl…

Merge pull request #349 from jenkinsci/dependabot/maven/io.jenkins.pl… #663

Workflow file for this run

name: 'GitHub CI'
on:
push:
branches:
- master
pull_request:
jobs:
build:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
jdk: [11, 17, 21]
runs-on: ${{ matrix.platform }}
name: on ${{ matrix.platform }} with JDK ${{ matrix.jdk }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: ${{ matrix.jdk }}
check-latest: true
cache: 'maven'
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
env:
BROWSER: chrome-container
run: mvn -V --color always -ntp clean verify --file pom.xml '-Djenkins.test.timeout=5000' '-Dgpg.skip'