Skip to content

Commit fbe5ab0

Browse files
committed
test 18
1 parent 2b4f530 commit fbe5ab0

File tree

1 file changed

+4
-26
lines changed

1 file changed

+4
-26
lines changed

.github/workflows/windows_installer.yml

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -29,32 +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.10/nsis-3.10-setup.exe?viasf=1 -OutFile C:\WINDOWS\Temp\nsis-3.10-setup.exe
44-
Get-Item C:\WINDOWS\Temp\nsis-3.10-setup.exe | Format-List
45-
$process = Start-Process "C:\WINDOWS\Temp\nsis-3.10-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 $LASTEXITCODE."
51-
}
52-
53-
- name: Test 2
54-
run: |
55-
Get-ChildItem -Path "C:\Program Files (x86)\NSIS" -Recurse | Format-Table FullName
56-
Get-Command makensis
57-
Get-Command makensis.EXE
32+
- name: Install NSIS with EnVar plugin
33+
uses: Totto16/install-nsis@b60b16380f74e6047cb569aecb13a0b78918929b
34+
with:
35+
nsis-version: '3.11'
5836

5937
- name: Configure
6038
run: meson setup build -Dbuildtype=release -Ddefault_library=shared -Dbuild_installer=true -Drun_in_ci=true

0 commit comments

Comments
 (0)