Bläddra i källkod

chore: Update dashboard workflow for windows 2

Michael Bromley 6 månader sedan
förälder
incheckning
d8229c072c
1 ändrade filer med 4 tillägg och 0 borttagningar
  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)
             - name: Copy files (Windows)
               if: runner.os == 'Windows'
               if: runner.os == 'Windows'
               shell: cmd
               shell: cmd
+              working-directory: $HOME/install/test-app
               run: |
               run: |
                   mkdir src\plugins\test-plugin 2> NUL
                   mkdir src\plugins\test-plugin 2> NUL
                   xcopy /Y /I "%GITHUB_WORKSPACE%\.github\workflows\scripts\vite.config.mts" "."
                   xcopy /Y /I "%GITHUB_WORKSPACE%\.github\workflows\scripts\vite.config.mts" "."
@@ -108,12 +109,15 @@ jobs:
             - name: Copy files (Unix)
             - name: Copy files (Unix)
               if: runner.os != 'Windows'
               if: runner.os != 'Windows'
               shell: bash
               shell: bash
+              working-directory: $HOME/install/test-app
               run: |
               run: |
                   mkdir -p src/plugins/test-plugin
                   mkdir -p src/plugins/test-plugin
                   cp "$GITHUB_WORKSPACE/.github/workflows/scripts/vite.config.mts" ./vite.config.mts
                   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 -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
                   cp "$GITHUB_WORKSPACE/.github/workflows/scripts/setup-test-plugin.js" ./setup-test-plugin.js
             - name: Run setup script
             - name: Run setup script
+              shell: bash
+              working-directory: $HOME/install/test-app
               run: node setup-test-plugin.js
               run: node setup-test-plugin.js
             - name: Install Playwright
             - name: Install Playwright
               run: |
               run: |