Skip to content

Commit c7539db

Browse files
committed
avoid build issue on failing version number due to PYTHONBUILDDIR_X64 not found for win32 and arm64
%PYTHONBUILDDIR_X64%\python extractVersion.py > %INST_TEMP_DIR%\version.txt caused by github action has python npt in path
1 parent db9efff commit c7539db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

appveyor.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ after_build:
4646

4747
- cd "%APPVEYOR_BUILD_FOLDER%"\installer
4848
- dotnet tool install --global wix
49-
- if "%platform_input%"=="ARM64" SET PYTHONBUILDDIR_ARM64="%APPVEYOR_BUILD_FOLDER%"\packages\pythonarm64.3.14.3\tools
50-
- if "%platform_input%"=="x64" SET PYTHONBUILDDIR_X64="%APPVEYOR_BUILD_FOLDER%"\packages\python.3.14.3\tools
51-
- if "%platform_input%"=="Win32" SET PYTHONBUILDDIR="%APPVEYOR_BUILD_FOLDER%"\packages\pythonx86.3.14.3\tools
49+
- SET PYTHONBUILDDIR_ARM64="%APPVEYOR_BUILD_FOLDER%"\packages\pythonarm64.3.14.3\tools
50+
- SET PYTHONBUILDDIR_X64="%APPVEYOR_BUILD_FOLDER%"\packages\python.3.14.3\tools
51+
- SET PYTHONBUILDDIR="%APPVEYOR_BUILD_FOLDER%"\packages\pythonx86.3.14.3\tools
5252
- copy "%APPVEYOR_BUILD_FOLDER%"\installer\buildPaths.bat.orig "%APPVEYOR_BUILD_FOLDER%"\installer\buildPaths.bat
5353
- if "%configuration%"=="Release" buildAll.bat %platform_input%
5454
- cd "%APPVEYOR_BUILD_FOLDER%"

0 commit comments

Comments
 (0)