We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a9820a commit 04e228dCopy full SHA for 04e228d
.github/workflows/build-pr.yml
@@ -0,0 +1,35 @@
1
+name: build PR
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - master
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - uses: actions/checkout@v2
14
15
+ - name: Cache m2 folder
16
+ uses: actions/cache@v2
17
+ env:
18
+ cache-name: cache-m2
19
+ with:
20
+ path: ~/.m2/repository
21
+ key: ${{ runner.os }}-build-${{ env.cache-name }}
22
+ restore-keys: |
23
+ ${{ runner.os }}-build-${{ env.cache-name }}-
24
+ ${{ runner.os }}-build-
25
+ ${{ runner.os }}-
26
27
+ - name: Set up JDK 8
28
+ uses: actions/setup-java@v2
29
30
+ java-version: '8'
31
+ distribution: 'zulu'
32
+ - name: Set up CI environment
33
+ run: .github/setup.sh
34
+ - name: Execute the build
35
+ run: .github/build.sh
0 commit comments