Skip to content

Commit a271bfe

Browse files
committed
updating build syntax for non java 8
1 parent a2ad1fd commit a271bfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
if: ${{ matrix.java == '8' }} # If 8 exclude the examples directory
7070
run: mvn -B install --file pom.xml -pl '!software.amazon.lambda.examples:powertools-examples-idempotency,!software.amazon.lambda.examples:powertools-examples-batch,!software.amazon.lambda.examples:powertools-examples-cloudformation,!software.amazon.lambda.examples:powertools-examples-core-utilities-cdk,!software.amazon.lambda.examples:powertools-examples-core-utilities-sam,!software.amazon.lambda.examples:powertools-examples-core-utilities-serverless,!software.amazon.lambda.examples:powertools-examples-core-utilities-terraform,!software.amazon.lambda.examples:powertools-examples-parameters,!software.amazon.lambda.examples:powertools-examples-serialization,!software.amazon.lambda.examples:powertools-examples-validation,!software.amazon.lambda.examples:cdk,!software.amazon.lambda:powertools-examples'
7171
- name: Build with Maven
72-
if: ${{ ! matrix.java == '8' }} # If not 8 don't exclude the examples directory
72+
if: ${{ matrix.java != '8' }} # If not 8 don't exclude the examples directory
7373
run: mvn -B install --file pom.xml
7474
- name: Build Gradle Example - Java
7575
if: ${{ matrix.java == '8' }} # Gradle example can only be built on Java 8

0 commit comments

Comments
 (0)