Skip to content

Commit

Permalink
chore: update upload/download artifact to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
jstewmon committed Dec 13, 2024
1 parent b5ed131 commit 2c38b83
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ jobs:
- name: "Check Rust target content"
run: ls target/release

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

- uses: "actions/upload-artifact@v3"
- uses: actions/upload-artifact@v4
name: "Upload Python sdist"
with:
path: dist/*.tar.gz
Expand All @@ -192,7 +192,7 @@ jobs:
- name: "Build WASM Node Package"
run: "make build-wasm"

- uses: "actions/upload-artifact@v3"
- uses: actions/upload-artifact@v4
name: "Upload node package"
with:
path: js/
Expand Down Expand Up @@ -247,7 +247,7 @@ jobs:
CIBW_BUILD: ${{ matrix.py }}-${{ matrix.platform.name }}_*
CIBW_TEST_COMMAND: python {project}/tests/test_py.py

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: py-wheels
path: ./wheelhouse/*.whl
Expand Down Expand Up @@ -310,7 +310,7 @@ jobs:
run: |
echo "${{ steps.cargo-version.outputs.new }}" > tmp-new-cargo-ver
- uses: "actions/upload-artifact@v3"
- uses: actions/upload-artifact@v4
with:
path: "tmp-new-cargo-ver"
name: "new-cargo"
Expand All @@ -323,7 +323,7 @@ jobs:
CARGO_TOKEN: "${{ secrets.CARGO_TOKEN }}"

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

- name: "Pull Python Sdist Artifact"
if: "${{ steps.cargo-version.outputs.new == 'true' }}"
uses: "actions/download-artifact@v1"
uses: actions/download-artifact@v4
with:
name: py-sdist
path: dist-py
Expand All @@ -364,7 +364,7 @@ jobs:
# alternatively, to publish when a GitHub Release is created, use the following rule:
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: py-wheels
path: dist
Expand Down

0 comments on commit 2c38b83

Please sign in to comment.