Skip to content

Commit

Permalink
fix: fix ignore-scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jayree committed May 2, 2024
1 parent cb8bf3d commit 759b1fe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/actions/yarnInstallWithRetries/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ name: yarn-install-with-retries
description: "wraps yarn install with retries/timeout to handle network failures"
inputs:
ignore-scripts:
type: boolean
default: false
default: 'false'
description: "Skip pre/post install scripts"
runs:
using: composite
steps:
- name: yarn install
uses: salesforcecli/github-workflows/.github/actions/retry@main
with:
command: yarn install --network-timeout 600000 ${{ inputs.ignore-scripts && '--ignore-scripts' || '' }}
command: yarn install --network-timeout 600000 ${{ inputs.ignore-scripts == 'true' && '--ignore-scripts' || '' }}

0 comments on commit 759b1fe

Please sign in to comment.