You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
redisson/.github/workflows/maven.yml

25 lines
534 B
YAML

5 years ago
name: Java CI
5 years ago
on: [push, pull_request]
5 years ago
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
5 years ago
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
5 years ago
- name: Build with Maven
run: mvn -B verify --file pom.xml