Skip to content

Commit

Permalink
try github action
Browse files Browse the repository at this point in the history
  • Loading branch information
evacchi committed Apr 7, 2021
1 parent 1030eb8 commit 8f596b5
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build-runtimes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Java CI

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify

0 comments on commit 8f596b5

Please sign in to comment.