Browse Source

CI: Always use Command Prompt when running commands.

Miku AuahDark 1 year ago
parent
commit
6b677723de
1 changed files with 3 additions and 2 deletions
  1. 3 2
      .github/workflows/deps-test.yml

+ 3 - 2
.github/workflows/deps-test.yml

@@ -8,6 +8,9 @@ jobs:
       fail-fast: false
       fail-fast: false
       matrix:
       matrix:
         platform: [Win32, x64]
         platform: [Win32, x64]
+    defaults:
+      run:
+        shell: cmd
     steps:
     steps:
     - name: Checkout
     - name: Checkout
       uses: actions/checkout@v2
       uses: actions/checkout@v2
@@ -24,10 +27,8 @@ jobs:
         move /y C:\Strawberry C:\Strawberry_not_in_PATH
         move /y C:\Strawberry C:\Strawberry_not_in_PATH
         exit /b 0
         exit /b 0
     - name: Configure
     - name: Configure
-      shell: cmd
       env:
       env:
         PLATFORM: ${{ matrix.platform }}
         PLATFORM: ${{ matrix.platform }}
       run: cmake -Bbuild -Hmegasource -T v142 -A %PLATFORM% -DCMAKE_INSTALL_PREFIX=%CD%\install
       run: cmake -Bbuild -Hmegasource -T v142 -A %PLATFORM% -DCMAKE_INSTALL_PREFIX=%CD%\install
     - name: Install
     - name: Install
-      shell: cmd
       run: cmake --build build --config Release --target install -j2
       run: cmake --build build --config Release --target install -j2