From 75a09cc6b7d818cc1791ebe4057a574de79e19c9 Mon Sep 17 00:00:00 2001 From: Amedeo Lepore Date: Wed, 15 Nov 2023 17:38:03 +0100 Subject: [PATCH] Revert "[AAE-18105] Fix release workflow: release-npm step doesn't publish all the packages (#9091)" This reverts commit 17323b0abbee9e9687f5a2902dfa3887094b2305. --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dd38f4dadc0..d1888245282 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -189,7 +189,7 @@ jobs: node-version-file: '.nvmrc' registry-url: 'https://npm.pkg.github.com' scope: '@alfresco' - - run: npx nx run-many --all --target=npm-publish --exclude=demoshell $NX_CALCULATION_FLAGS --tag=$TAG_NPM --skip-nx-cache || exit 1 + - run: npx nx affected --target=npm-publish $NX_CALCULATION_FLAGS --tag=$TAG_NPM || exit 1 env: NODE_AUTH_TOKEN: ${{ secrets.PAT_WRITE_PKG }} - uses: actions/setup-node@v3 @@ -198,7 +198,7 @@ jobs: node-version-file: '.nvmrc' registry-url: 'https://${{ vars.NPM_REGISTRY_ADDRESS }}' scope: '@alfresco' - - run: npx nx run-many --all --target=npm-publish --exclude=demoshell $NX_CALCULATION_FLAGS --tag=$TAG_NPM --skip-nx-cache || exit 1 + - run: npx nx affected --target=npm-publish $NX_CALCULATION_FLAGS --tag=$TAG_NPM || exit 1 env: NODE_AUTH_TOKEN: ${{ secrets.NPM_REGISTRY_TOKEN }}