Skip to content

Commit 05f94b5

Browse files
Update download-artifact, upload-artifact and checkout to v4 (#3745)
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 <zyadh@amazon.com>
1 parent aaf34f3 commit 05f94b5

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/actions/build-bundle/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ runs:
6565
echo "PKG=${{ inputs.os }}-kani-verifier.crate" >> $GITHUB_ENV
6666
6767
- name: Upload bundle
68-
uses: actions/upload-artifact@v3
68+
uses: actions/upload-artifact@v4
6969
with:
7070
name: ${{ env.BUNDLE }}
7171
path: ${{ env.BUNDLE }}
@@ -74,7 +74,7 @@ runs:
7474
retention-days: 3
7575

7676
- name: Upload kani-verifier pkg
77-
uses: actions/upload-artifact@v3
77+
uses: actions/upload-artifact@v4
7878
with:
7979
name: ${{ env.PKG }}
8080
path: ${{ env.PKG }}

.github/workflows/cargo-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-22.04
1919
steps:
2020
- name: Checkout Kani
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222

2323
- name: Setup Kani Dependencies
2424
uses: ./.github/actions/setup

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,12 @@ jobs:
111111
runs-on: ${{ matrix.os }}
112112
steps:
113113
- name: Download bundle
114-
uses: actions/download-artifact@v3
114+
uses: actions/download-artifact@v4
115115
with:
116116
name: ${{ matrix.prev_job.bundle }}
117117

118118
- name: Download kani-verifier crate
119-
uses: actions/download-artifact@v3
119+
uses: actions/download-artifact@v4
120120
with:
121121
name: ${{ matrix.prev_job.package }}
122122

@@ -206,12 +206,12 @@ jobs:
206206
runs-on: ${{ matrix.os }}
207207
steps:
208208
- name: Download bundle
209-
uses: actions/download-artifact@v3
209+
uses: actions/download-artifact@v4
210210
with:
211211
name: ${{ matrix.prev_job.bundle }}
212212

213213
- name: Download kani-verifier crate
214-
uses: actions/download-artifact@v3
214+
uses: actions/download-artifact@v4
215215
with:
216216
name: ${{ matrix.prev_job.package }}
217217

@@ -268,17 +268,17 @@ jobs:
268268
echo "version=${{ env.TAG_VERSION }}" >> $GITHUB_OUTPUT
269269
270270
- name: Download MacOS bundle
271-
uses: actions/download-artifact@v3
271+
uses: actions/download-artifact@v4
272272
with:
273273
name: ${{ needs.build_bundle_macos.outputs.bundle }}
274274

275275
- name: Download MacOS ARM bundle
276-
uses: actions/download-artifact@v3
276+
uses: actions/download-artifact@v4
277277
with:
278278
name: ${{ needs.build_bundle_macos_aarch64.outputs.bundle }}
279279

280280
- name: Download Linux bundle
281-
uses: actions/download-artifact@v3
281+
uses: actions/download-artifact@v4
282282
with:
283283
name: ${{ needs.build_bundle_linux.outputs.bundle }}
284284

0 commit comments

Comments
 (0)