Skip to content

Commit

Permalink
Merge pull request #5135 from wasmerio/use-download-upload-artifact-v4
Browse files Browse the repository at this point in the history
Use upload/download artifact v4
  • Loading branch information
syrusakbary authored Oct 5, 2024
2 parents 555ee34 + e175368 commit b2fa4b1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ jobs:
run: |
make distribution
- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.artifact_name }}
path: dist
Expand Down Expand Up @@ -305,7 +305,7 @@ jobs:
CARGO_TARGET: x86_64-pc-windows-gnu
TARGET_DIR: target/x86_64-pc-windows-gnu/release
- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'wasmer-windows-gnu64'
path: dist
Expand Down Expand Up @@ -338,7 +338,7 @@ jobs:
CARGO_TARGET: aarch64-apple-darwin
TARGET_DIR: target/aarch64-apple-darwin/release
- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'aarch64-apple-darwin-jsc'
path: dist
Expand Down Expand Up @@ -367,7 +367,7 @@ jobs:
CARGO_TARGET: x86_64-apple-darwin
TARGET_DIR: target/x86_64-apple-darwin/release
- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: 'x86_64-apple-darwin-jsc'
path: dist
Expand Down Expand Up @@ -432,7 +432,7 @@ jobs:
TARGET: aarch64-unknown-linux-gnu
TARGET_DIR: target/aarch64-unknown-linux-gnu/release
- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wasmer-linux-aarch64
path: dist
Expand Down Expand Up @@ -497,7 +497,7 @@ jobs:
TARGET: riscv64gc-unknown-linux-gnu
TARGET_DIR: target/riscv64gc-unknown-linux-gnu/release
- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wasmer-linux-riscv64
path: dist
Expand All @@ -510,7 +510,7 @@ jobs:
if: needs.setup.outputs.DOING_RELEASE == '1' || github.event.inputs.release != ''
steps:
- name: Download the Artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
path: artifacts
- name: Create Release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-public-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
cargo public-api --manifest-path=lib/api/Cargo.toml --diff-git-checkouts $LATEST_VERSION main > diff.txt
- name: Archive change report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: api-diff-report
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cifuzz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
language: rust
fuzz-seconds: 300
- name: Upload Crash
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure() && steps.build.outcome == 'success'
with:
name: artifacts
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ jobs:
TARGET_DIR: target/aarch64-unknown-linux-gnu/release
- name: Upload Artifacts
if: ${{ matrix.build-what.key == 'capi' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: capi-linux-aarch64
path: dist
Expand Down Expand Up @@ -330,7 +330,7 @@ jobs:
TARGET_DIR: target/riscv64gc-unknown-linux-gnu/release
- name: Upload Artifacts
if: ${{ matrix.build-what.key == 'capi' }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: capi-linux-riscv64
path: dist
Expand Down Expand Up @@ -538,14 +538,14 @@ jobs:
TARGET_DIR: target/${{ matrix.metadata.target }}/release
CARGO_TARGET: ${{ matrix.metadata.target }}
- name: Archive production artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wasmer-cli-${{ matrix.metadata.build }}
path: build-wasmer.tar.gz
if-no-files-found: ignore
retention-days: 2
- name: Archive production artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: capi-${{ matrix.metadata.build }}
path: build-capi.tar.gz
Expand Down

0 comments on commit b2fa4b1

Please sign in to comment.