From a40f4515853564085d420c7b556beae6ebed1994 Mon Sep 17 00:00:00 2001 From: Teng-hao Chang <365035+zhusee2@users.noreply.github.com> Date: Fri, 18 Aug 2023 18:04:26 +0800 Subject: [PATCH] fix: fix syntax --- action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index 4e41a15..45b531f 100644 --- a/action.yml +++ b/action.yml @@ -8,11 +8,11 @@ inputs: is-monorepo: description: 'Using in a monorepo project?' required: false - default: false + default: "false" skip-cache: description: 'Wanna skip cache?' required: false - default: false + default: "false" runs: using: 'composite' steps: @@ -32,7 +32,7 @@ runs: path: "**/node_modules/" key: ${{ steps.output-os-version.outputs.version }}-node${{ steps.output-node-version.outputs.version }}-yarn-${{ hashFiles('**/yarn.lock') }} env: - SEGMENT_DOWNLOAD_TIMEOUT_MINS: 10 + SEGMENT_DOWNLOAD_TIMEOUT_MINS: "10" - name: Cache single-repo node_modules if: ${{ !fromJSON(inputs.skip-cache) && !fromJSON(inputs.is-monorepo) }} @@ -41,7 +41,7 @@ runs: path: "node_modules/" key: ${{ steps.output-os-version.outputs.version }}-node${{ steps.output-node-version.outputs.version }}-yarn-${{ hashFiles('yarn.lock') }} env: - SEGMENT_DOWNLOAD_TIMEOUT_MINS: 10 + SEGMENT_DOWNLOAD_TIMEOUT_MINS: "10" # install packages - name: Set .npmrc to use npm auth