mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-25 16:21:05 -06:00
35 lines
668 B
YAML
35 lines
668 B
YAML
name: build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
tags-ignore:
|
|
- invoke-release
|
|
|
|
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
|
|
run: mvn package
|
|
|
|
- name: mvn verify
|
|
run: mvn verify
|