Skip to content

Commit db20d5a

Browse files
NFC-82 Build fix
Signed-off-by: Sander Kondratjev <[email protected]>
1 parent baa0084 commit db20d5a

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/maven-build-example.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ on:
1010
- 'example/**'
1111
- '.github/workflows/*example*'
1212

13-
defaults:
14-
run:
15-
working-directory: ./example
16-
1713
jobs:
1814
build:
1915
runs-on: ubuntu-latest
@@ -33,12 +29,9 @@ jobs:
3329
key: ${{ runner.os }}-m2-v17-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/pom.xml') }}
3430
restore-keys: ${{ runner.os }}-m2-v17-${{ secrets.CACHE_VERSION }}
3531

36-
- name: Build library
37-
run: mvn -B install -pl web-eid-authtoken-validation-java -am
38-
3932
- name: Build
40-
run: mvn --batch-mode compile
33+
run: mvn -B -ntp install
4134

4235
- name: Test and package
43-
run: mvn --batch-mode package
36+
run: mvn -B -ntp -pl example -am package
4437

0 commit comments

Comments
 (0)