Skip to content

Commit 2c38b83

Browse files
committed
chore: update upload/download artifact to v4
1 parent b5ed131 commit 2c38b83

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/ci.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ jobs:
171171
- name: "Check Rust target content"
172172
run: ls target/release
173173

174-
- uses: "actions/upload-artifact@v3"
174+
- uses: actions/upload-artifact@v4
175175
name: "Upload Rust/C Libraries"
176176
with:
177177
path: target/release/libjsonlogic_rs.*
@@ -183,7 +183,7 @@ jobs:
183183
WINDOWS: "${{ contains(runner.os, 'windows') }}"
184184
PYTHON: ${{ steps.get-py-path.outputs.path }}
185185

186-
- uses: "actions/upload-artifact@v3"
186+
- uses: actions/upload-artifact@v4
187187
name: "Upload Python sdist"
188188
with:
189189
path: dist/*.tar.gz
@@ -192,7 +192,7 @@ jobs:
192192
- name: "Build WASM Node Package"
193193
run: "make build-wasm"
194194

195-
- uses: "actions/upload-artifact@v3"
195+
- uses: actions/upload-artifact@v4
196196
name: "Upload node package"
197197
with:
198198
path: js/
@@ -247,7 +247,7 @@ jobs:
247247
CIBW_BUILD: ${{ matrix.py }}-${{ matrix.platform.name }}_*
248248
CIBW_TEST_COMMAND: python {project}/tests/test_py.py
249249

250-
- uses: actions/upload-artifact@v3
250+
- uses: actions/upload-artifact@v4
251251
with:
252252
name: py-wheels
253253
path: ./wheelhouse/*.whl
@@ -310,7 +310,7 @@ jobs:
310310
run: |
311311
echo "${{ steps.cargo-version.outputs.new }}" > tmp-new-cargo-ver
312312
313-
- uses: "actions/upload-artifact@v3"
313+
- uses: actions/upload-artifact@v4
314314
with:
315315
path: "tmp-new-cargo-ver"
316316
name: "new-cargo"
@@ -323,7 +323,7 @@ jobs:
323323
CARGO_TOKEN: "${{ secrets.CARGO_TOKEN }}"
324324

325325
- name: "Pull WASM Artifact"
326-
uses: "actions/download-artifact@v1"
326+
uses: actions/download-artifact@v4
327327
if: "${{ steps.npm-version.outputs.new == 'true' }}"
328328
with:
329329
name: wasm-pkg
@@ -340,7 +340,7 @@ jobs:
340340

341341
- name: "Pull Python Sdist Artifact"
342342
if: "${{ steps.cargo-version.outputs.new == 'true' }}"
343-
uses: "actions/download-artifact@v1"
343+
uses: actions/download-artifact@v4
344344
with:
345345
name: py-sdist
346346
path: dist-py
@@ -364,7 +364,7 @@ jobs:
364364
# alternatively, to publish when a GitHub Release is created, use the following rule:
365365
if: github.event_name == 'release' && github.event.action == 'published'
366366
steps:
367-
- uses: actions/download-artifact@v3
367+
- uses: actions/download-artifact@v4
368368
with:
369369
name: py-wheels
370370
path: dist

0 commit comments

Comments
 (0)