Skip to content

Commit

Permalink
fix: fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
zhusee2 committed Aug 18, 2023
1 parent 26c8036 commit a40f451
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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) }}
Expand All @@ -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
Expand Down

0 comments on commit a40f451

Please sign in to comment.