From a210e6bdc43ff449ba654bb31bf7312c3a44a918 Mon Sep 17 00:00:00 2001 From: Marcus Resell Date: Mon, 6 Feb 2023 10:24:14 +0100 Subject: [PATCH] fix: yarn version detection for nx-cloud-agents.yml (#57) * Fix yarn version, no longer cut * update readme * bump package.json --- .github/workflows/nx-cloud-agents.yml | 2 +- README.md | 12 ++++++------ package.json | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/nx-cloud-agents.yml b/.github/workflows/nx-cloud-agents.yml index 5664420..a445c3e 100644 --- a/.github/workflows/nx-cloud-agents.yml +++ b/.github/workflows/nx-cloud-agents.yml @@ -112,7 +112,7 @@ jobs: if [[ $pnpm_ver != '' ]]; then echo "PNPM: $pnpm_ver"; fi echo "node_version=${node_ver:1}" >> $GITHUB_OUTPUT - echo "yarn_version=${yarn_ver:1}" >> $GITHUB_OUTPUT + echo "yarn_version=${yarn_ver}" >> $GITHUB_OUTPUT - name: Use the node_modules cache if available [npm] if: steps.package_manager.outputs.name == 'npm' diff --git a/README.md b/README.md index 5cc5f16..6b76cd0 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ concurrency: jobs: main: name: Nx Cloud - Main Job - uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.11.2 + uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.11.3 with: # NOTE: Here we are using the special `nx-cloud record` command to ensure that any commands we run that do not go through the cloud task runner natively # (i.e. anything that starts with `nx run`/`nx run-many`/`nx affected --target`), are still captured in the Nx Cloud UI and Github App comment for @@ -75,7 +75,7 @@ jobs: agents: name: Nx Cloud - Agents - uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.11.2 + uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.11.3 with: number-of-agents: 3 ``` @@ -110,7 +110,7 @@ concurrency: jobs: main: name: Nx Cloud - Main Job - uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.11.2 + uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.11.3 secrets: NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} NX_CLOUD_AUTH_TOKEN: ${{ secrets.NX_CLOUD_AUTH_TOKEN }} @@ -118,7 +118,7 @@ jobs: agents: name: Nx Cloud - Agents - uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.11.2 + uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.11.3 secrets: NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} NX_CLOUD_AUTH_TOKEN: ${{ secrets.NX_CLOUD_AUTH_TOKEN }} @@ -134,7 +134,7 @@ See the annotated configuration below for all explicitly supported secret values ```yaml -- uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.11.2 +- uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.11.3 # [OPTIONAL] Explicitly supported secret values which can be passed into the workflow from your outer workflow run. # # NOTE: You cannot access values from ${{ secrets }} beyond what is explicitly specified here because of the limitations of reusable Github workflows @@ -249,7 +249,7 @@ See the annotated configuration below for all explicitly supported secret values ```yaml -- uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.11.2 +- uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.11.3 # [OPTIONAL] Explicitly supported secret values which can be passed into the workflow from your outer workflow run. # # NOTE: You cannot access values from ${{ secrets }} beyond what is explicitly specified here because of the limitations of reusable Github workflows diff --git a/package.json b/package.json index e21df9a..35c5042 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "private": true, - "version": "0.11.2", + "version": "0.11.3", "description": "This package.json is here purely to control the version of the Action, in combination with https://github.com/JamesHenry/publish-shell-action" }