File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Maven Test
2+
3+ # Controls when the workflow will run
4+ on :
5+ # Triggers the workflow on push or pull request events but only for the develop branch
6+ push :
7+ branches : [ develop ]
8+ pull_request :
9+ branches : [ develop ]
10+
11+ # Allows you to run this workflow manually from the Actions tab
12+ workflow_dispatch :
13+
14+ jobs :
15+ build :
16+
17+ runs-on : ubuntu-latest
18+
19+ steps :
20+ - uses : actions/checkout@v2
21+ - name : Set up JDK 8
22+ uses : actions/setup-java@v2
23+ with :
24+ java-version : ' 8'
25+ distribution : ' adopt'
26+
27+ - name : Cache local Maven repository
28+ uses : actions/cache@v2
29+ with :
30+ path : ~/.m2/repository
31+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
32+ restore-keys : |
33+ ${{ runner.os }}-maven-
34+
35+ - name : Maven test
36+ run : mvn test
You can’t perform that action at this time.
0 commit comments