Skip to content

Commit d3b2e37

Browse files
committed
updated github actions workflow
1 parent c93fcef commit d3b2e37

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/pr_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
cache: 'maven'
6868
- name: Build with Maven
6969
if: ${{ matrix.java == '8' }} # If 8 exclude the examples directory
70-
run: mvn -B install --file pom.xml -pl '!examples'
70+
run: mvn -B install --file pom.xml -pl '!software.amazon.lambda:powertools-examples'
7171
- name: Build with Maven
7272
if: ${{ ! matrix.java == '8' }} # If not 8 don't exclude the examples directory
7373
run: mvn -B install --file pom.xml

.github/workflows/spotbugs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ jobs:
3939
# path: '**/spotbugsXml.xml'
4040
# # Can be simplified post this issue is fixed https://github.com/jwgmeligmeyling/spotbugs-github-action/issues/9
4141
- name: Build with Maven for spotbugs check to mark build as fail if voilations found
42-
run: mvn -Pbuild-with-spotbugs -B install --file pom.xml -DskipTests -Dmaven.javadoc.skip=true -Dspotbugs.failOnError=true -pl '!examples'
42+
run: mvn -Pbuild-with-spotbugs -B install --file pom.xml -DskipTests -Dmaven.javadoc.skip=true -Dspotbugs.failOnError=true -pl '!software.amazon.lambda:powertools-examples'

0 commit comments

Comments
 (0)