mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-10 14:11:42 +00:00
[AAE-32905] - remvoed extra line
This commit is contained in:
3
.github/workflows/build-lib-workflow.yml
vendored
3
.github/workflows/build-lib-workflow.yml
vendored
@@ -24,8 +24,7 @@ jobs:
|
||||
run: |
|
||||
BASE_REF="${{ github.event.pull_request.base.ref }}"
|
||||
echo "Base ref is $BASE_REF"
|
||||
AFFECTED_BUILD=$(npx nx show projects --affected --target=test --base=origin/$BASE_REF --select=projects --plain --exclude=stories)
|
||||
AFFECTED_UNIT=$(npx nx show projects --affected --target=test --base=origin/$BASE_REF --select=projects --plain --exclude=cli,stories,eslint-angular)
|
||||
AFFECTED_BUILD=$(npx nx show projects --affected --target=build --base=origin/$BASE_REF --select=projects --plain --exclude=stories)
|
||||
echo "Affected projects for BUILD : $AFFECTED_BUILD"
|
||||
BUILD_MATRIX_JSON=$(echo $AFFECTED_BUILD | xargs -n1 | jq -R -s -c 'split("\n")[:-1] | map({ "project": . })')
|
||||
BUILD_MATRIX_JSON=$(echo "$BUILD_MATRIX_JSON" | tr -d '\n' | sed 's/"$//')
|
||||
|
Reference in New Issue
Block a user