File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 6262
6363 - name : Setup Fortran compiler
6464 uses : fortran-lang/setup-fortran@v1.7.0
65- id : setup-fortran
65+ id : setup-fortran
6666 with :
6767 compiler : ${{ matrix.toolchain.compiler }}
6868 version : ${{ matrix.toolchain.version }}
@@ -264,6 +264,20 @@ jobs:
264264 env :
265265 envar_download : " https://github.com/GsNSIS/EnVar/releases/download/v0.3.1/EnVar-Plugin.zip"
266266
267+ - name : Install NSIS
268+ run : choco install nsis -y
269+ shell : pwsh
270+
271+ - name : Add NSIS to PATH
272+ shell : pwsh
273+ run : |
274+ $dirs = @(
275+ "${env:ProgramFiles(x86)}\NSIS",
276+ "${env:ProgramFiles}\NSIS"
277+ ) | Where-Object { $_ -and (Test-Path $_) }
278+ if (-not $dirs) { throw "NSIS not found under Program Files." }
279+ $dirs | ForEach-Object { $_ | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append }
280+
267281 - name : Generate installer
268282 run : |
269283 cd ./ci
You can’t perform that action at this time.
0 commit comments