Skip to content

Commit

Permalink
Update download-artifact, upload-artifact and checkout to v4 (#3745)
Browse files Browse the repository at this point in the history
Resolves #3492

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.

---------

Co-authored-by: Zyad Hassan <[email protected]>
  • Loading branch information
thanhnguyen-aws and zhassan-aws authored Dec 2, 2024
1 parent aaf34f3 commit 05f94b5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/actions/build-bundle/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ runs:
echo "PKG=${{ inputs.os }}-kani-verifier.crate" >> $GITHUB_ENV
- name: Upload bundle
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.BUNDLE }}
path: ${{ env.BUNDLE }}
Expand All @@ -74,7 +74,7 @@ runs:
retention-days: 3

- name: Upload kani-verifier pkg
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.PKG }}
path: ${{ env.PKG }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cargo-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout Kani
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Kani Dependencies
uses: ./.github/actions/setup
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,12 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Download bundle
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ matrix.prev_job.bundle }}

- name: Download kani-verifier crate
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ matrix.prev_job.package }}

Expand Down Expand Up @@ -206,12 +206,12 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Download bundle
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ matrix.prev_job.bundle }}

- name: Download kani-verifier crate
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ matrix.prev_job.package }}

Expand Down Expand Up @@ -268,17 +268,17 @@ jobs:
echo "version=${{ env.TAG_VERSION }}" >> $GITHUB_OUTPUT
- name: Download MacOS bundle
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ needs.build_bundle_macos.outputs.bundle }}

- name: Download MacOS ARM bundle
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ needs.build_bundle_macos_aarch64.outputs.bundle }}

- name: Download Linux bundle
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ needs.build_bundle_linux.outputs.bundle }}

Expand Down

0 comments on commit 05f94b5

Please sign in to comment.