Skip to content

Commit

Permalink
Merge pull request #52 from darranl/REMJMX-179
Browse files Browse the repository at this point in the history
[REMJMX-179] Add GitHub workflows for PR CI.
  • Loading branch information
darranl authored Jul 7, 2023
2 parents ef060d7 + 6bd7e81 commit 11ab9bf
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/pr-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Pull Request CI
on:
pull_request:
branches:
- 3.1.x

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Version Info
run: mvn -version
- name: Build with Maven
run: mvn -B package --file pom.xml

0 comments on commit 11ab9bf

Please sign in to comment.