From b30e77a840035cd5d19ddffc74d325980ec8f8d3 Mon Sep 17 00:00:00 2001 From: deepend-tildeclub <58404188+deepend-tildeclub@users.noreply.github.com> Date: Thu, 8 Jan 2026 23:21:13 -0700 Subject: [PATCH] Refactor build step in Windows CI workflow --- .github/workflows/windows-build.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index fc767399..04fee1ca 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -63,22 +63,22 @@ jobs: python -m pip install cffi - - name: Build - run: | - call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" - - set "PYTHON_DIR=C:\gtk-build\python-3.8\${{ matrix.platform }}" - if not exist "%PYTHON_DIR%\libs\python38.lib" ( - echo Missing %PYTHON_DIR%\libs\python38.lib - dir "%PYTHON_DIR%\libs" - exit /b 1 - ) + - name: Build + run: | + call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" - set "LIB=%PYTHON_DIR%\libs;%LIB%" - set "INCLUDE=%PYTHON_DIR%\include;%INCLUDE%" + set "PYTHON_DIR=C:\gtk-build\python-3.8\${{ matrix.platform }}" + if not exist "%PYTHON_DIR%\libs\python38.lib" ( + echo Missing %PYTHON_DIR%\libs\python38.lib + dir "%PYTHON_DIR%\libs" + exit /b 1 + ) - msbuild win32\zoitechat.sln /m /verbosity:minimal /p:Configuration=Release /p:Platform=${{ matrix.platform }} - shell: cmd + set "LIB=%PYTHON_DIR%\libs;%LIB%" + set "INCLUDE=%PYTHON_DIR%\include;%INCLUDE%" + + msbuild win32\zoitechat.sln /m /verbosity:minimal /p:Configuration=Release /p:Platform=${{ matrix.platform }} + shell: cmd - name: Preparing Artifacts run: |