Skip to content

Commit

Permalink
ci: Fix build-python-package when js is true (#1112)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrunyon authored Feb 6, 2025
1 parent 0d09ef4 commit fadc185
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:
uses: actions/checkout@v4

- name: Check JS existence
if: ${{ inputs.js == 'true' }}
if: ${{ inputs.js }}
id: check_files
uses: andstor/file-existence-action@v3
with:
files: 'plugins/${{ inputs.package }}/src/js/package.json'

- name: Setup Node
id: setup-node
if: ${{ inputs.js == 'true' && steps.check_files.outputs.files_exists == 'true' }}
if: ${{ steps.check_files.outputs.files_exists == 'true' }}
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
Expand Down

0 comments on commit fadc185

Please sign in to comment.