Skip to content

Commit

Permalink
Merge pull request #1717 from houdiniproject/add-better-conditions-fo…
Browse files Browse the repository at this point in the history
…r-path-config

Add better conditionality on node and ruby installs
  • Loading branch information
wwahammy committed Apr 22, 2024
2 parents 0276c8b + 3b05134 commit 0bed42d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/actions/after-checkout-prep/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ runs:
postgres_password: password
- name: "Install NPM packages"
uses: "./.github/actions/install-packages"
if: ${{ inputs.node != '' }}
if: ${{ inputs.node && inputs.node != '' && inputs.node != 'false' }}
with:
node: ${{ inputs.node }}
- name: "Install Ruby packages"
uses: "./.github/actions/install-packages"
if: ${{ inputs.ruby != '' }}
if: ${{ inputs.ruby && inputs.ruby != '' && inputs.ruby != 'false' }}
with:
ruby: ${{ inputs.ruby }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cache-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
npm-package-download:
name: Download NPM packages
runs-on: ${{ inputs.os }}
if: ${{ inputs.node != '' }}
if: ${{ inputs.node && inputs.node != '' && inputs.node != 'false'}}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-packages
Expand All @@ -22,7 +22,7 @@ jobs:
ruby-package-download:
name: Download Ruby packages
runs-on: ${{ inputs.os }}
if: ${{ inputs.ruby != '' }}
if: ${{ inputs.ruby && inputs.ruby != '' && inputs.ruby != 'false' }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-packages
Expand Down

0 comments on commit 0bed42d

Please sign in to comment.