[MIGRATION] - Fixed print-affected action

This commit is contained in:
VitoAlbano
2024-09-01 23:30:51 +01:00
parent caf2b5ccb4
commit acf4e2dc7c
4 changed files with 4431 additions and 4043 deletions

View File

@@ -11,7 +11,7 @@ if [ "${GITHUB_EVENT_NAME}" == "schedule" ]; then
exit 0
fi
isAffected=false
AFFECTED_LIBS=$(npx nx print-affected --type=lib --select=projects ${NX_CALCULATION_FLAGS} --plain)
AFFECTED_LIBS=$(npx nx show projects --affected --type=lib --select=projects ${NX_CALCULATION_FLAGS} --plain)
#echo "Verify if affected build contains $1"
#echo "Affected libs:$AFFECTED_LIBS"
if [[ $AFFECTED_LIBS =~ $verifyLib ]]; then