We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c30122f commit d0b3e9eCopy full SHA for d0b3e9e
.github/workflows/maven-build-example.yml
@@ -10,10 +10,6 @@ on:
10
- 'example/**'
11
- '.github/workflows/*example*'
12
13
-defaults:
14
- run:
15
- working-directory: ./example
16
-
17
jobs:
18
build:
19
runs-on: ubuntu-latest
@@ -33,9 +29,9 @@ jobs:
33
29
key: ${{ runner.os }}-m2-v17-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/pom.xml') }}
34
30
restore-keys: ${{ runner.os }}-m2-v17-${{ secrets.CACHE_VERSION }}
35
31
36
- - name: Build
37
- run: mvn --batch-mode compile
38
39
- - name: Test and package
40
- run: mvn --batch-mode package
32
+ - name: Install library
+ run: mvn -B -ntp install
41
+ - name: Build example project
+ working-directory: ./example
+ run: mvn -B -ntp package
0 commit comments