Skip to content

Commit

Permalink
tweak workflow step again
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Apr 17, 2024
1 parent 01c40d5 commit 46527b7
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/module-plugin-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,14 +199,15 @@ jobs:
- name: Sync New Module build files to node_modules dir for inclusion in plugin build
if: ${{ inputs.sync-npm-package }}
run: |
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
echo "DESTINATION node_modules/@${{ inputs.module-repo }}/build"
ls -l node_modules/@${{ inputs.module-repo }}/build
echo "Updating DESTINATION from SOURCE?"
rsync -r "vendor/${{ inputs.module-repo }}/build" "node_modules/@${{ inputs.module-repo }}/build"
echo "UPDATED DESTINATION node_modules/@${{ inputs.module-repo }}/build"
src = "vendor/${{ inputs.module-repo }}/build"
dest = "node_modules/@${{ inputs.module-repo }}/build"
echo 'Test file to see if rsync worked.' > "$src/test.txt"
echo "SOURCE $src"
ls -l $src
echo "DESTINATION $dest"
ls -l $dest
rsync --recursive --progress "$src" "$dest"
echo "UPDATED DESTINATION:"
ls -l node_modules/@${{ inputs.module-repo }}/build
- name: Build Plugin
run: npm run build
Expand Down

0 comments on commit 46527b7

Please sign in to comment.