forked from zxl0714/redis-mock
-
Notifications
You must be signed in to change notification settings - Fork 58
37 lines (31 loc) · 904 Bytes
/
maven.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v1
with:
java-version: '8'
- name: Cache Maven
uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
- name: Build with Maven
run: mvn -B -V verify -Dmaven.javadoc.skip
- name: Update list of supported operations
if: success() && github.ref == 'refs/heads/master'
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update list of supported operations