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 62
62
63
63
- name : Setup Fortran compiler
64
64
uses :
fortran-lang/[email protected]
65
- id : setup-fortran
65
+ id : setup-fortran
66
66
with :
67
67
compiler : ${{ matrix.toolchain.compiler }}
68
68
version : ${{ matrix.toolchain.version }}
@@ -264,6 +264,20 @@ jobs:
264
264
env :
265
265
envar_download : " https://github.com/GsNSIS/EnVar/releases/download/v0.3.1/EnVar-Plugin.zip"
266
266
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
+
267
281
- name : Generate installer
268
282
run : |
269
283
cd ./ci
You can’t perform that action at this time.
0 commit comments