From 83a25eeddfa6b9c43bc389a869232e81f021e53c Mon Sep 17 00:00:00 2001 From: Ehsan Rezaei Date: Fri, 25 Oct 2024 08:11:28 +0200 Subject: [PATCH] Fixed release workflow to publish tags (#10335) --- .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 e9a9483888b..e2e926ec95e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -142,7 +142,7 @@ jobs: node-version-file: '.nvmrc' registry-url: 'https://npm.pkg.github.com' scope: '@alfresco' - - run: npx nx affected --target=npm-publish --tag=$TAG_NPM || exit 1 + - run: npx nx run-many -t npm-publish --tag=$TAG_NPM || exit 1 env: NODE_AUTH_TOKEN: ${{ secrets.PAT_WRITE_PKG }} - uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 @@ -151,7 +151,7 @@ jobs: node-version-file: '.nvmrc' registry-url: 'https://${{ vars.NPM_REGISTRY_ADDRESS }}' scope: '@alfresco' - - run: npx nx affected --target=npm-publish --tag=$TAG_NPM || exit 1 + - run: npx nx run-many -t npm-publish --tag=$TAG_NPM || exit 1 env: NODE_AUTH_TOKEN: ${{ secrets.NPM_REGISTRY_TOKEN }}