File tree Expand file tree Collapse file tree 1 file changed +4
-27
lines changed Expand file tree Collapse file tree 1 file changed +4
-27
lines changed Original file line number Diff line number Diff line change @@ -29,33 +29,10 @@ jobs:
2929 run : |
3030 pip install meson
3131
32- # - name: Install NSIS with EnVar plugin
33- # uses: Totto16/install-nsis@2cdf87622e707cbd65a5732b24ceed2674423adf
34- # with:
35- # nsis-version: '3.10'
36-
37- - name : Test 1
38- run : |
39- echo "C:\Program Files (x86)\NSIS\Bin" | Out-File -FilePath $env:GITHUB_PATH -Append
40- echo "C:\Program Files (x86)\NSIS" | Out-File -FilePath $env:GITHUB_PATH -Append
41- Write-Host "Current PATH:"
42- Write-Host $env:PATH
43- Invoke-WebRequest https://deac-riga.dl.sourceforge.net/project/nsis/NSIS%203/3.11/nsis-3.11-setup.exe?viasf=1 -OutFile C:\WINDOWS\Temp\nsis-3.11-setup.exe
44- Get-Item C:\WINDOWS\Temp\nsis-3.11-setup.exe | Format-List
45- $process = Start-Process "C:\WINDOWS\Temp\nsis-3.11-setup.exe" -ArgumentList "/S" -Wait -PassThru
46- $exitCode = $process.ExitCode
47- if ($exitCode -eq 0) {
48- Write-Host "Installer ran successfully."
49- } else {
50- Write-Host "Installer failed with exit code $exitCode."
51- exit $exitCode
52- }
53-
54- - name : Test 2
55- run : |
56- Get-ChildItem -Path "C:\Program Files (x86)\NSIS" -Recurse | Format-Table FullName
57- Get-Command makensis
58- Get-Command makensis.EXE
32+ - name : Install NSIS with EnVar plugin
33+ uses : Totto16/install-nsis@1d2839ee2498cfb39cbb0e7690794466995f6505
34+ with :
35+ nsis-version : ' 3.11'
5936
6037 - name : Configure
6138 run : meson setup build -Dbuildtype=release -Ddefault_library=shared -Dbuild_installer=true -Drun_in_ci=true
You can’t perform that action at this time.
0 commit comments