CI: Always use Command Prompt when running commands.

This commit is contained in:
Miku AuahDark
2024-03-31 11:32:25 +08:00
parent a4b28ab337
commit 6b677723de
+3 -2
View File
@@ -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