Skip to content

Commit 11cf302

Browse files
committed
fix(ci): upgrade to newer upload-artifact/download-artifact
actions/upload-artifact v3 and actions/download-artifact v3 are deprecated [1]. They no longer work, breaking our CI jobs. Upgrade to the latest version of each to fix CI. [1] https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
1 parent f7519e7 commit 11cf302

File tree

7 files changed

+47
-47
lines changed

7 files changed

+47
-47
lines changed

.github/workflows/arch-linux-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
run: ./dist/arch/lint.sh
5959

6060
- name: upload build to workflow
61-
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
61+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6262
with:
6363
if-no-files-found: error
6464
name: quick-lint-js-arch-${{ github.sha }}
@@ -79,7 +79,7 @@ jobs:
7979
runs-on: ubuntu-latest
8080
container: archlinux:base
8181
steps:
82-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
82+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
8383
with:
8484
name: quick-lint-js-arch-${{ github.sha }}
8585

.github/workflows/build-and-test-plugin-vscode.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
run: cmake --install build --component vscode-node --prefix plugin/vscode --strip
107107

108108
- name: upload build to workflow
109-
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
109+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
110110
with:
111111
if-no-files-found: error
112112
name: vscode-dist-${{ matrix.os.platform_arch }}
@@ -136,23 +136,23 @@ jobs:
136136
- name: checkout
137137
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
138138

139-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
139+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
140140
with:
141141
name: vscode-dist-linux-x64
142142
path: ./plugin/vscode/dist/
143-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
143+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
144144
with:
145145
name: vscode-dist-darwin-arm64
146146
path: ./plugin/vscode/dist/
147-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
147+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
148148
with:
149149
name: vscode-dist-darwin-x64
150150
path: ./plugin/vscode/dist/
151-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
151+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
152152
with:
153153
name: vscode-dist-win32-ia32
154154
path: ./plugin/vscode/dist/
155-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
155+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
156156
with:
157157
name: vscode-dist-win32-x64
158158
path: ./plugin/vscode/dist/
@@ -192,39 +192,39 @@ jobs:
192192
- name: checkout
193193
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
194194

195-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
195+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
196196
with:
197197
name: vscode-dist-linux-x64
198198
path: ./plugin/vscode/dist/
199-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
199+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
200200
with:
201201
name: vscode-dist-linux-arm
202202
path: ./plugin/vscode/dist/
203-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
203+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
204204
with:
205205
name: vscode-dist-linux-arm64
206206
path: ./plugin/vscode/dist/
207-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
207+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
208208
with:
209209
name: vscode-dist-darwin-arm64
210210
path: ./plugin/vscode/dist/
211-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
211+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
212212
with:
213213
name: vscode-dist-darwin-x64
214214
path: ./plugin/vscode/dist/
215-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
215+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
216216
with:
217217
name: vscode-dist-win32-ia32
218218
path: ./plugin/vscode/dist/
219-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
219+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
220220
with:
221221
name: vscode-dist-win32-x64
222222
path: ./plugin/vscode/dist/
223-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
223+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
224224
with:
225225
name: vscode-dist-win32-arm
226226
path: ./plugin/vscode/dist/
227-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
227+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
228228
with:
229229
name: vscode-dist-win32-arm64
230230
path: ./plugin/vscode/dist/
@@ -235,7 +235,7 @@ jobs:
235235
run: cd plugin/vscode && ./node_modules/.bin/vsce package --baseImagesUrl https://raw.githubusercontent.com/quick-lint/quick-lint-js/master/plugin/vscode/
236236

237237
- name: upload build to workflow
238-
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
238+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
239239
with:
240240
if-no-files-found: error
241241
name: plugin-vscode-${{ github.sha }}

.github/workflows/build-static.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
recursive: true
123123

124124
- name: upload build to workflow
125-
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
125+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
126126
with:
127127
if-no-files-found: error
128128
name: quick-lint-js-${{ matrix.toolchain.archive_name }}-${{ github.sha }}
@@ -171,7 +171,7 @@ jobs:
171171
uname -a || :
172172
shell: bash
173173

174-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
174+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
175175
with:
176176
name: quick-lint-js-${{ matrix.os.archive_name }}-${{ github.sha }}
177177
- name: unpack .zip build
@@ -194,35 +194,35 @@ jobs:
194194
- name: checkout
195195
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
196196

197-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
197+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
198198
with:
199199
name: quick-lint-js-linux-${{ github.sha }}
200200
path: ./
201-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
201+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
202202
with:
203203
name: quick-lint-js-linux-armhf-${{ github.sha }}
204204
path: ./
205-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
205+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
206206
with:
207207
name: quick-lint-js-linux-aarch64-${{ github.sha }}
208208
path: ./
209-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
209+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
210210
with:
211211
name: quick-lint-js-macos-${{ github.sha }}
212212
path: ./
213-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
213+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
214214
with:
215215
name: quick-lint-js-macos-aarch64-${{ github.sha }}
216216
path: ./
217-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
217+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
218218
with:
219219
name: quick-lint-js-windows-${{ github.sha }}
220220
path: ./
221-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
221+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
222222
with:
223223
name: quick-lint-js-windows-x86-${{ github.sha }}
224224
path: ./
225-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
225+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
226226
with:
227227
name: quick-lint-js-windows-arm64-${{ github.sha }}
228228
path: ./
@@ -258,7 +258,7 @@ jobs:
258258
run: npm pack ./dist/npm
259259

260260
- name: upload package to workflow
261-
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
261+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
262262
with:
263263
if-no-files-found: error
264264
name: quick-lint-js-npm-${{ github.sha }}
@@ -290,7 +290,7 @@ jobs:
290290
runs-on: ${{ matrix.os.runs_on }}
291291

292292
steps:
293-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
293+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
294294
with:
295295
name: quick-lint-js-npm-${{ github.sha }}
296296

@@ -324,11 +324,11 @@ jobs:
324324
steps:
325325
- name: checkout
326326
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
327-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
327+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
328328
with:
329329
name: quick-lint-js-windows-${{ github.sha }}
330330
path: ./
331-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
331+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
332332
with:
333333
name: quick-lint-js-windows-x86-${{ github.sha }}
334334
path: ./
@@ -337,7 +337,7 @@ jobs:
337337
run: go run ./dist/chocolatey/build.go -x86-ZIP ./windows-x86.zip -x64-ZIP ./windows.zip -Out ./quick-lint-js.nupkg
338338

339339
- name: upload package to workflow
340-
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
340+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
341341
with:
342342
if-no-files-found: error
343343
name: quick-lint-js-chocolatey-${{ github.sha }}
@@ -357,7 +357,7 @@ jobs:
357357
needs: package-chocolatey
358358
runs-on: windows-latest
359359
steps:
360-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
360+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
361361
with:
362362
name: quick-lint-js-chocolatey-${{ github.sha }}
363363
- name: install
@@ -373,11 +373,11 @@ jobs:
373373
steps:
374374
- name: checkout
375375
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
376-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
376+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
377377
with:
378378
name: quick-lint-js-windows-${{ github.sha }}
379379
path: ./
380-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
380+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
381381
with:
382382
name: quick-lint-js-windows-x86-${{ github.sha }}
383383
path: ./
@@ -386,7 +386,7 @@ jobs:
386386
run: go run ./dist/scoop/make-manifest.go -BaseURI 'https://c.quick-lint-js.com/builds/${{ github.sha }}/' -x86-ZIP ./windows-x86.zip -x64-ZIP ./windows.zip -Out ./quick-lint-js.json
387387

388388
- name: upload manifest to workflow
389-
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
389+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
390390
with:
391391
if-no-files-found: error
392392
name: quick-lint-js-scoop-${{ github.sha }}
@@ -408,7 +408,7 @@ jobs:
408408
steps:
409409
- name: checkout
410410
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
411-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
411+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
412412
with:
413413
name: quick-lint-js-windows-${{ github.sha }}
414414
path: ./
@@ -424,7 +424,7 @@ jobs:
424424
shell: bash
425425

426426
- name: upload MSIX to workflow
427-
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
427+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
428428
with:
429429
if-no-files-found: error
430430
name: quick-lint-js-msix-${{ github.sha }}
@@ -447,7 +447,7 @@ jobs:
447447
steps:
448448
- name: checkout
449449
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
450-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
450+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
451451
with:
452452
name: quick-lint-js-msix-${{ github.sha }}
453453
path: ./
@@ -456,7 +456,7 @@ jobs:
456456
run: go run ./dist/winget/make-manifests.go -BaseURI 'https://c.quick-lint-js.com/builds/${{ github.sha }}/' -MSIX ./quick-lint-js.msix -OutDir winget-manifests
457457

458458
- name: upload manifests to workflow
459-
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
459+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
460460
with:
461461
if-no-files-found: error
462462
name: quick-lint-js-winget-${{ github.sha }}

.github/workflows/build-website.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,15 @@ jobs:
8989
service apache2 start
9090
./website/tools/check-links.mjs http://localhost/
9191
92-
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
92+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
9393
if: failure()
9494
with:
9595
name: apache-error-log
9696
path: /var/log/apache2/error.log
9797
if-no-files-found: ignore
9898

9999
- name: upload build to workflow
100-
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
100+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
101101
with:
102102
if-no-files-found: error
103103
name: website-${{ github.sha }}

.github/workflows/debian-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
run: ${{ matrix.os.build_env }} ./dist/debian/build.sh --bionic
3737

3838
- name: upload build to workflow
39-
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
39+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
4040
with:
4141
if-no-files-found: error
4242
name: quick-lint-js-deb-${{ matrix.os.arch }}-${{ github.sha }}
@@ -92,7 +92,7 @@ jobs:
9292
- name: update apt
9393
run: apt-get update
9494

95-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
95+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
9696
with:
9797
name: quick-lint-js-deb-${{ matrix.os.arch }}-${{ github.sha }}
9898

.github/workflows/test-emacs-plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run: ./plugin/emacs/create-archive
3333

3434
- name: upload archive to workflow
35-
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
35+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
3636
with:
3737
if-no-files-found: error
3838
name: web-demo-dist-${{ github.sha }}

.github/workflows/test-vim-plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run: ./plugin/vim/create-archive
3333

3434
- name: upload archive to workflow
35-
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
35+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
3636
with:
3737
if-no-files-found: error
3838
name: web-demo-dist-${{ github.sha }}

0 commit comments

Comments
 (0)