Skip to content

Commit

Permalink
attempt with wildcard
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Apr 17, 2024
1 parent a233e37 commit 2ed2811
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/module-plugin-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,13 @@ jobs:
- name: Sync New Module build files to node_modules dir for inclusion in plugin build
if: ${{ inputs.sync-npm-package }}
run: |
echo "source: vendor/${{ inputs.module-repo }}/build"
ls -l vendor/${{ inputs.module-repo }}/build
echo "destination: node_modules/@${{ inputs.module-repo }}/build"
ls -l node_modules/@${{ inputs.module-repo }}/build
rsync --progress --human-readable "vendor/${{ inputs.module-repo }}/build/index.js" "node_modules/@${{ inputs.module-repo }}/build/index.js"
rsync --progress --human-readable "vendor/${{ inputs.module-repo }}/build/index.asset.php" "node_modules/@${{ inputs.module-repo }}/build/index.asset.php"
echo "destination after rsync: node_modules/@${{ inputs.module-repo }}/build"
echo 'Test file to see if rsync worked.' > vendor/${{ inputs.module-repo }}/build/test.txt
echo "source: vendor/${{ inputs.module-repo }}/build"
ls -l vendor/${{ inputs.module-repo }}/build
rsync -r --progress --human-readable "vendor/${{ inputs.module-repo }}/build/*" "node_modules/@${{ inputs.module-repo }}/build/*"
echo "destination after rsync:"
ls -l node_modules/@${{ inputs.module-repo }}/build
- name: Build Plugin
run: npm run build
Expand Down

0 comments on commit 2ed2811

Please sign in to comment.