2929
3030 windows :
3131 name : ${{ matrix.os.description }}
32- runs-on : ${{ matrix.os.architecture == 'arm64' && 'windows-11-arm' || 'windows-2022 ' }}
32+ runs-on : ${{ matrix.os.architecture == 'arm64' && 'windows-11-arm' || 'windows-2025 ' }}
3333 strategy :
3434 fail-fast : false
3535 matrix :
5555 fi
5656
5757 - name : 📥 Install Python
58- uses : actions/setup-python@v5
58+ uses : actions/setup-python@v6
5959 with :
60- python-version : ' 3.13.5 '
60+ python-version : ' 3.13.7 '
6161 architecture : ${{ matrix.os.architecture }}
6262
6363 - name : 📥 Install Qt
@@ -81,19 +81,35 @@ jobs:
8181 with :
8282 arch : ${{ matrix.os.architecture }}
8383
84- - name : 💾 Download OpenSSL 3.x
85- 86- with :
87- url : " https://slproweb.com/download/Win64${{ matrix.os.architecture == 'arm64' && 'ARM' || '' }}OpenSSL-3_5_3.exe"
88- destination : .\installer\openssl.exe
89- cache-key : OpenSSL
90-
91- - name : 📥 Install OpenSSL 3.x
92- shell : powershell
84+ - name : Download/Install Inno Setup
9385 run : |
94- Start-Process -FilePath ".\installer\openssl.exe" -ArgumentList "/silent", "/verysilent", "/sp-", "/suppressmsgboxes", "/DIR=C:\OpenSSL" -Wait
95- echo "OPENSSL_ROOT_DIR=C:\OpenSSL" >> $env:GITHUB_ENV
96-
86+ echo "Checking pre-installation..."
87+
88+ set "ISCC_PATH=%programfiles(x86)%\Inno Setup 6\ISCC.exe"
89+
90+ if exist "%ISCC_PATH%" (
91+ echo ::warning::Inno Setup is already installed
92+ exit /b 0
93+ )
94+
95+ echo "Downloading Inno Setup..."
96+
97+ set "_url_=https://jrsoftware.org/download.php/is.exe?site=1"
98+ set "_file_=innosetup.exe"
99+
100+ curl -L -o "%tmp%\%_file_%" "%_url_%"
101+
102+ echo "Installing Inno Setup..."
103+ " %tmp%\% _file_%" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
104+
105+ if not exist "%ISCC_PATH%" (
106+ echo "::error::Inno Setup installation failed"
107+ exit 1
108+ )
109+
110+ echo "Inno Setup installed successfully!"
111+ shell : cmd
112+
97113 - name : 💾 Download Pre-Build Dependencies
98114 id : dependencies
99115 uses : ./.github/actions/download-pre-built-deps
0 commit comments