From cf5688c90372ba66c9ceb33b15db2dae0c34c1d2 Mon Sep 17 00:00:00 2001 From: Emily Xiong Date: Fri, 21 Jun 2024 19:16:32 -0400 Subject: [PATCH] feat(gradle): uncomment start-ci-run --- .../generators/ci-workflow/__snapshots__/generator.spec.ts.snap | 2 +- .../ci-workflow/files/circleci/.circleci/config.yml.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/gradle/src/generators/ci-workflow/__snapshots__/generator.spec.ts.snap b/packages/gradle/src/generators/ci-workflow/__snapshots__/generator.spec.ts.snap index 86dad706a30d9..ffae6f38abe44 100644 --- a/packages/gradle/src/generators/ci-workflow/__snapshots__/generator.spec.ts.snap +++ b/packages/gradle/src/generators/ci-workflow/__snapshots__/generator.spec.ts.snap @@ -19,7 +19,7 @@ jobs: # Connect your workspace on nx.app and uncomment this to enable task distribution. # The "--stop-agents-after" is optional, but allows idle agents to shut down once the "build" targets have been requested - # - run: npx nx-cloud start-ci-run --distribute-on="5 linux-medium-jvm" --stop-agents-after="build" + - run: npx nx-cloud start-ci-run --distribute-on="5 linux-medium-jvm" --stop-agents-after="build" - nx/set-shas: main-branch-name: 'main' diff --git a/packages/gradle/src/generators/ci-workflow/files/circleci/.circleci/config.yml.template b/packages/gradle/src/generators/ci-workflow/files/circleci/.circleci/config.yml.template index 8c4f695c7791d..f04ae4a7ce01d 100644 --- a/packages/gradle/src/generators/ci-workflow/files/circleci/.circleci/config.yml.template +++ b/packages/gradle/src/generators/ci-workflow/files/circleci/.circleci/config.yml.template @@ -16,7 +16,7 @@ jobs: # Connect your workspace on <%= nxCloudHost %> and uncomment this to enable task distribution. # The "--stop-agents-after" is optional, but allows idle agents to shut down once the "build" targets have been requested - # - run: <%= packageManagerPrefix %> nx-cloud start-ci-run --distribute-on="5 linux-medium-jvm" --stop-agents-after="build" + - run: <%= packageManagerPrefix %> nx-cloud start-ci-run --distribute-on="5 linux-medium-jvm" --stop-agents-after="build" - nx/set-shas: main-branch-name: '<%= mainBranch %>'