From 8231b331967ce5f81f2cf6db58cdf3cc960dd769 Mon Sep 17 00:00:00 2001 From: arunshenoy99 Date: Tue, 23 May 2023 18:10:06 +0530 Subject: [PATCH] use printf to handle \n --- .github/workflows/lint-check-spa.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint-check-spa.yml b/.github/workflows/lint-check-spa.yml index f1bd347b2..ef486b73e 100644 --- a/.github/workflows/lint-check-spa.yml +++ b/.github/workflows/lint-check-spa.yml @@ -40,7 +40,7 @@ jobs: restore-keys: ${{ runner.os }}-node- - name: Setup Registry - run: echo "@newfold-labs:registry=https://npm.pkg.github.com/\\n//npm.pkg.github.com/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc + run: printf "@newfold-labs:registry=https://npm.pkg.github.com/\n//npm.pkg.github.com/:_authToken=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" > .npmrc if: steps.cache.outputs.cache-hit != 'true' # Installs @wordpress/scripts for lint checks if it does not exist in the cache.