Browse Source

chore: Update dashboard workflow for windows 2

Michael Bromley 6 months ago
parent
commit
d8229c072c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      .github/workflows/build_test_dashboard.yml

+ 4 - 0
.github/workflows/build_test_dashboard.yml

@@ -100,6 +100,7 @@ jobs:
             - name: Copy files (Windows)
               if: runner.os == 'Windows'
               shell: cmd
+              working-directory: $HOME/install/test-app
               run: |
                   mkdir src\plugins\test-plugin 2> NUL
                   xcopy /Y /I "%GITHUB_WORKSPACE%\.github\workflows\scripts\vite.config.mts" "."
@@ -108,12 +109,15 @@ jobs:
             - name: Copy files (Unix)
               if: runner.os != 'Windows'
               shell: bash
+              working-directory: $HOME/install/test-app
               run: |
                   mkdir -p src/plugins/test-plugin
                   cp "$GITHUB_WORKSPACE/.github/workflows/scripts/vite.config.mts" ./vite.config.mts
                   cp -r "$GITHUB_WORKSPACE/.github/workflows/scripts/test-plugin/." src/plugins/test-plugin/
                   cp "$GITHUB_WORKSPACE/.github/workflows/scripts/setup-test-plugin.js" ./setup-test-plugin.js
             - name: Run setup script
+              shell: bash
+              working-directory: $HOME/install/test-app
               run: node setup-test-plugin.js
             - name: Install Playwright
               run: |