@@ -58,11 +58,11 @@ jobs:
58
58
59
59
steps :
60
60
- name : Checkout code
61
- uses : actions/checkout@v4
61
+ uses : actions/checkout@v5
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 }}
@@ -207,7 +207,7 @@ jobs:
207
207
gcc_v : [11,12,13]
208
208
209
209
steps :
210
- - uses : actions/checkout@v4
210
+ - uses : actions/checkout@v5
211
211
212
212
- name : Download Artifacts
213
213
uses : actions/download-artifact@v4
@@ -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
@@ -291,7 +305,7 @@ jobs:
291
305
env :
292
306
DEPLOY_BRANCH : ${{ secrets.DEPLOY_BRANCH && contains(github.ref, secrets.DEPLOY_BRANCH) && 1 || 0 }}
293
307
294
- - uses : actions/checkout@v4
308
+ - uses : actions/checkout@v5
295
309
if : ${{ github.event_name == 'push' }}
296
310
297
311
- name : Download Artifacts
0 commit comments