From c6adec7f9d9536eee9507cdc38a0209af69dce02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Belval?= <58433201+mael-belval@users.noreply.github.com> Date: Sat, 21 Jan 2023 09:39:57 +0100 Subject: [PATCH] =?UTF-8?q?feat(core):=20update=20the=20workflow=20version?= =?UTF-8?q?=20used=20by=20the=20generator=20for=20gith=E2=80=A6=20(#14351)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/shared/monorepo-ci-github-actions.md | 4 ++-- .../ci-workflow/__snapshots__/ci-workflow.spec.ts.snap | 8 ++++---- .../.github/workflows/__workflowFileName__.yml__tmpl__ | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/shared/monorepo-ci-github-actions.md b/docs/shared/monorepo-ci-github-actions.md index d4b0cf0632a91..fed485ce19688 100644 --- a/docs/shared/monorepo-ci-github-actions.md +++ b/docs/shared/monorepo-ci-github-actions.md @@ -57,7 +57,7 @@ on: jobs: main: name: Nx Cloud - Main Job - uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.8 + uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.11.2 with: number-of-agents: 3 parallel-commands: | @@ -68,7 +68,7 @@ jobs: agents: name: Nx Cloud - Agents - uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.8 + uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.11.2 with: number-of-agents: 3 ``` diff --git a/packages/workspace/src/generators/ci-workflow/__snapshots__/ci-workflow.spec.ts.snap b/packages/workspace/src/generators/ci-workflow/__snapshots__/ci-workflow.spec.ts.snap index debf0939ca774..ee587fd57c715 100644 --- a/packages/workspace/src/generators/ci-workflow/__snapshots__/ci-workflow.spec.ts.snap +++ b/packages/workspace/src/generators/ci-workflow/__snapshots__/ci-workflow.spec.ts.snap @@ -178,7 +178,7 @@ on: jobs: main: name: Nx Cloud - Main Job - uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.8 + uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.11.2 with: number-of-agents: 3 init-commands: | @@ -193,7 +193,7 @@ jobs: agents: name: Nx Cloud - Agents - uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.8 + uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.11.2 with: number-of-agents: 3 " @@ -211,7 +211,7 @@ on: jobs: main: name: Nx Cloud - Main Job - uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.8 + uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.11.2 with: number-of-agents: 3 init-commands: | @@ -226,7 +226,7 @@ jobs: agents: name: Nx Cloud - Agents - uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.8 + uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.11.2 with: number-of-agents: 3 " diff --git a/packages/workspace/src/generators/ci-workflow/files/github/.github/workflows/__workflowFileName__.yml__tmpl__ b/packages/workspace/src/generators/ci-workflow/files/github/.github/workflows/__workflowFileName__.yml__tmpl__ index b071ac1f3a51e..b60cd15ab3595 100644 --- a/packages/workspace/src/generators/ci-workflow/files/github/.github/workflows/__workflowFileName__.yml__tmpl__ +++ b/packages/workspace/src/generators/ci-workflow/files/github/.github/workflows/__workflowFileName__.yml__tmpl__ @@ -9,7 +9,7 @@ on: jobs: main: name: Nx Cloud - Main Job - uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.8 + uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.11.2 with: number-of-agents: 3 init-commands: | @@ -24,6 +24,6 @@ jobs: agents: name: Nx Cloud - Agents - uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.8 + uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.11.2 with: number-of-agents: 3