From 2ed281105218afd3e55427ab0cc29f4b0c833c1a Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Wed, 17 Apr 2024 12:40:43 -0400 Subject: [PATCH] attempt with wildcard --- .github/workflows/module-plugin-test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/module-plugin-test.yml b/.github/workflows/module-plugin-test.yml index 0fd82f1..364869f 100644 --- a/.github/workflows/module-plugin-test.yml +++ b/.github/workflows/module-plugin-test.yml @@ -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