Skip to content

Commit

Permalink
Replace old GitHub action with updated one.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Feb 27, 2024
1 parent 7140c3c commit 5278700
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 43 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: 'GitHub CI'

on:
push:
branches:
- master
- main
pull_request:

jobs:
build:

strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
jdk: [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: 'temurin'
java-version: '${{ matrix.jdk }}'
check-latest: true
cache: 'maven'
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.6
- 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'
43 changes: 0 additions & 43 deletions .github/workflows/maven.yml

This file was deleted.

0 comments on commit 5278700

Please sign in to comment.