diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ac63394de8..b2b6845b9d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -133,16 +133,16 @@ jobs: setMigrations(); - name: build libraries run: | - npx nx affected:build $NX_CALCULATION_FLAGS --prod --skip-nx-cache - npx nx affected $NX_CALCULATION_FLAGS --target=pretheme - npx nx affected $NX_CALCULATION_FLAGS --target=build-schematics + npx nx affected:build --prod --skip-nx-cache + npx nx affected --target=pretheme + npx nx affected --target=build-schematics - uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 name: release libraries GH registry with: node-version-file: '.nvmrc' registry-url: 'https://npm.pkg.github.com' scope: '@alfresco' - - run: npx nx affected --target=npm-publish $NX_CALCULATION_FLAGS --tag=$TAG_NPM || exit 1 + - run: npx nx affected --target=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 $NX_CALCULATION_FLAGS --tag=$TAG_NPM || exit 1 + - run: npx nx affected --target=npm-publish --tag=$TAG_NPM || exit 1 env: NODE_AUTH_TOKEN: ${{ secrets.NPM_REGISTRY_TOKEN }}