From 59a2397841aadad56e0dfcfdef55b3de37da2465 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Belval?= Date: Fri, 13 Jan 2023 16:30:17 +0100 Subject: [PATCH] fix(misc): update the workflow version used by the generator for github actions ci Currently, the generator for github actions workflow use the NX CI workflow v0.8. This commit update the workflow used to the current latest version, v0.11.2 --- 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