Skip to content

Commit

Permalink
remove -p from cp command and add test file
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Apr 17, 2024
1 parent 37f38ec commit 2bef230
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/module-plugin-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,13 @@ jobs:
- name: Sync Module build files to node_modules dir
if: ${{ inputs.sync-npm-package }}
run: |
echo 'The only winning move is not to play.' > 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
cp -r -f -p vendor/${{ inputs.module-repo }}/build node_modules/@${{ inputs.module-repo }}/build
echo "Updating DESTINATION from SOURCE?"
cp -r -f 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
Expand Down

0 comments on commit 2bef230

Please sign in to comment.