Skip to content

Commit

Permalink
use cp command rather than rsync
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Apr 17, 2024
1 parent 4150559 commit 37f38ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/module-plugin-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,12 @@ jobs:
- name: Sync Module build files to node_modules dir
if: ${{ inputs.sync-npm-package }}
run: |
echo "vendor/${{ inputs.module-repo }}/build"
echo "SOURCE vendor/${{ inputs.module-repo }}/build"
ls -l vendor/${{ inputs.module-repo }}/build
echo "node_modules/@${{ inputs.module-repo }}/build"
echo "DESTINATION node_modules/@${{ inputs.module-repo }}/build"
ls -l node_modules/@${{ inputs.module-repo }}/build
rsync -r -v -h --progress vendor/${{ inputs.module-repo }}/build node_modules/@${{ inputs.module-repo }}/build
echo "node_modules/@${{ inputs.module-repo }}/build after rsync"
cp -r -f -p vendor/${{ inputs.module-repo }}/build node_modules/@${{ inputs.module-repo }}/build
echo "UPDATED DESTINATION node_modules/@${{ inputs.module-repo }}/build"
ls -l node_modules/@${{ inputs.module-repo }}/build
- name: Build Plugin
run: npm run build
Expand Down

0 comments on commit 37f38ec

Please sign in to comment.