Skip to content

Commit

Permalink
[REMJMX-179] Add GitHub workflows for PR CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
darranl committed Jul 7, 2023
1 parent ef060d7 commit 6bd7e81
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 6bd7e81

Please sign in to comment.