NIFI-13160 Corrected frontend changes evaluation in ci-workflow

This closes #8761.

Signed-off-by: Joseph Witt <joewitt@apache.org>
This commit is contained in:
exceptionfactory 2024-05-07 08:49:32 -05:00 committed by Joseph Witt
parent 4bbe08fb55
commit b259e2ae73
No known key found for this signature in database
GPG Key ID: 9093BF854F811A1A
1 changed files with 4 additions and 4 deletions

View File

@ -170,7 +170,7 @@ jobs:
env:
MAVEN_OPTS: >-
${{ env.COMPILE_MAVEN_OPTS }}
-Dfrontend.skipTests=${{ !steps.changes.outputs.frontend }}
-Dfrontend.skipTests=${{ steps.changes.outputs.frontend == 'true' && 'false' || 'true' }}
run: >
${{ env.MAVEN_COMMAND }}
${{ env.MAVEN_COMPILE_COMMAND }}
@ -178,7 +178,7 @@ jobs:
env:
MAVEN_OPTS: >-
${{ env.DEFAULT_MAVEN_OPTS }}
-Dfrontend.skipTests=${{ !steps.changes.outputs.frontend }}
-Dfrontend.skipTests=${{ steps.changes.outputs.frontend == 'true' && 'false' || 'true' }}
run: >
${{ env.MAVEN_COMMAND }}
jacoco:prepare-agent
@ -241,7 +241,7 @@ jobs:
env:
MAVEN_OPTS: >-
${{ env.COMPILE_MAVEN_OPTS }}
-Dfrontend.skipTests=${{ !steps.changes.outputs.frontend }}
-Dfrontend.skipTests=${{ steps.changes.outputs.frontend == 'true' && 'false' || 'true' }}
run: >
${{ env.MAVEN_COMMAND }}
${{ env.MAVEN_COMPILE_COMMAND }}
@ -316,7 +316,7 @@ jobs:
env:
MAVEN_OPTS: >-
${{ env.COMPILE_MAVEN_OPTS }}
-Dfrontend.skipTests=${{ !steps.changes.outputs.frontend }}
-Dfrontend.skipTests=${{ steps.changes.outputs.frontend == 'true' && 'false' || 'true' }}
run: >
${{ env.MAVEN_COMMAND_WINDOWS }}
${{ env.MAVEN_COMPILE_COMMAND }}