nosqlbench/.github/workflows/build.yml

30 lines
590 B
YAML
Raw Normal View History

2020-03-13 02:50:44 -05:00
name: build
2020-03-13 01:11:51 -05:00
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
name: checkout nosqlbench
- uses: actions/setup-java@v1
name: setup java
with:
java-version: '12'
java-package: jdk
architecture: x64
- name: Cache Maven packages
uses: actions/cache@v1
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: mvn package nosqlbench
run: mvn package