Skip to content

Commit 43f3a1a

Browse files
authored
Merge pull request #106 from salmanmkc/upgrade-github-actions-node24
Upgrade GitHub Actions for Node 24 compatibility
2 parents 51fd637 + a6bc80f commit 43f3a1a

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

.github/workflows/main.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ jobs:
3535
steps:
3636
- name: Checkout code (no LFS)
3737
if: ${{ github.event_name == 'schedule' }}
38-
uses: actions/checkout@v3
38+
uses: actions/checkout@v6
3939
with:
4040
ref: dev
4141
lfs: false
4242

4343
- name: Checkout code (no LFS)
4444
if: ${{ github.event_name != 'schedule' }}
45-
uses: actions/checkout@v3
45+
uses: actions/checkout@v6
4646
with:
4747
lfs: false
4848

@@ -69,7 +69,7 @@ jobs:
6969
7070
# ← Cache all LFS objects between runs
7171
- name: Cache Git LFS objects
72-
uses: actions/cache@v3
72+
uses: actions/cache@v5
7373
with:
7474
path: .git/lfs/objects
7575
key: ${{ runner.os }}-git-lfs-${{ hashFiles('**/.gitattributes') }}
@@ -125,7 +125,7 @@ jobs:
125125
126126
# Common Python setup + build + test
127127
- name: Set up Python 3.11
128-
uses: actions/setup-python@v4
128+
uses: actions/setup-python@v6
129129
with:
130130
python-version: '3.11'
131131

@@ -168,20 +168,20 @@ jobs:
168168
steps:
169169
- name: Checkout code (no LFS)
170170
if: ${{ github.event_name == 'schedule' }}
171-
uses: actions/checkout@v3
171+
uses: actions/checkout@v6
172172
with:
173173
ref: dev
174174
lfs: false
175175

176176
- name: Checkout code (no LFS)
177177
if: ${{ github.event_name != 'schedule' }}
178-
uses: actions/checkout@v3
178+
uses: actions/checkout@v6
179179
with:
180180
lfs: false
181181

182182
# Common Python setup + build + test
183183
- name: Set up Python 3.11
184-
uses: actions/setup-python@v4
184+
uses: actions/setup-python@v6
185185
with:
186186
python-version: '3.11'
187187

@@ -213,7 +213,7 @@ jobs:
213213
214214
# ← Cache LFS objects for nightly packaging too
215215
- name: Cache Git LFS objects
216-
uses: actions/cache@v3
216+
uses: actions/cache@v5
217217
with:
218218
path: .git/lfs/objects
219219
key: nightly-${{ runner.os }}-git-lfs-${{ hashFiles('**/.gitattributes') }}
@@ -288,28 +288,28 @@ jobs:
288288
289289
- name: Upload macOS nightly artifact
290290
if: runner.os == 'macOS'
291-
uses: actions/upload-artifact@v4
291+
uses: actions/upload-artifact@v6
292292
with:
293293
name: nightly-macos
294294
path: './dist/OpenVPCal-*.dmg'
295295

296296
- name: Upload Windows nightly artifact - Zip
297297
if: runner.os == 'Windows'
298-
uses: actions/upload-artifact@v4
298+
uses: actions/upload-artifact@v6
299299
with:
300300
name: nightly-windows-setup
301301
path: 'Output/OpenVPCal*.exe'
302302

303303
- name: Upload Windows nightly artifact - Setup
304304
if: runner.os == 'Windows'
305-
uses: actions/upload-artifact@v4
305+
uses: actions/upload-artifact@v6
306306
with:
307307
name: nightly-windows-zip
308308
path: 'Output/OpenVPCal*.zip'
309309

310310
- name: Upload Linux nightly artifact
311311
if: runner.os == 'Linux'
312-
uses: actions/upload-artifact@v4
312+
uses: actions/upload-artifact@v6
313313
with:
314314
name: nightly-linux
315315
path: 'Output/OpenVPCal*.zip'
@@ -336,7 +336,7 @@ jobs:
336336

337337
steps:
338338
- name: Checkout tagged commit (no LFS, full history for branch check)
339-
uses: actions/checkout@v3
339+
uses: actions/checkout@v6
340340
with:
341341
ref: ${{ github.ref }}
342342
lfs: false
@@ -355,7 +355,7 @@ jobs:
355355
356356
# Common Python setup
357357
- name: Set up Python 3.11
358-
uses: actions/setup-python@v4
358+
uses: actions/setup-python@v6
359359
with:
360360
python-version: '3.11'
361361

@@ -387,7 +387,7 @@ jobs:
387387
388388
# ← Cache LFS objects for release packaging
389389
- name: Cache Git LFS objects
390-
uses: actions/cache@v3
390+
uses: actions/cache@v5
391391
with:
392392
path: .git/lfs/objects
393393
key: release-${{ runner.os }}-git-lfs-${{ hashFiles('**/.gitattributes') }}
@@ -436,28 +436,28 @@ jobs:
436436
# Upload artifacts for release
437437
- name: Upload macOS release artifact
438438
if: runner.os == 'macOS'
439-
uses: actions/upload-artifact@v4
439+
uses: actions/upload-artifact@v6
440440
with:
441441
name: release-macos
442442
path: './dist/OpenVPCal-*.dmg'
443443

444444
- name: Upload Windows release artifact - Setup
445445
if: runner.os == 'Windows'
446-
uses: actions/upload-artifact@v4
446+
uses: actions/upload-artifact@v6
447447
with:
448448
name: release-windows-setup
449449
path: 'Output/OpenVPCal*.exe'
450450

451451
- name: Upload Windows release artifact - Zip
452452
if: runner.os == 'Windows'
453-
uses: actions/upload-artifact@v4
453+
uses: actions/upload-artifact@v6
454454
with:
455455
name: release-windows-zip
456456
path: 'Output/OpenVPCal*.zip'
457457

458458
- name: Upload Linux release artifact
459459
if: runner.os == 'Linux'
460-
uses: actions/upload-artifact@v4
460+
uses: actions/upload-artifact@v6
461461
with:
462462
name: release-linux
463463
path: 'Output/OpenVPCal*.zip'
@@ -476,7 +476,7 @@ jobs:
476476
contents: write
477477
steps:
478478
- name: Download all build artifacts
479-
uses: actions/download-artifact@v4
479+
uses: actions/download-artifact@v7
480480
with:
481481
path: release-assets
482482
merge-multiple: true

0 commit comments

Comments
 (0)