Skip to content

Commit 62ad640

Browse files
nashifkartben
andcommitted
ci: update upload-artifact & download-artifact action versions to v4
v2 & v3 are deprecated and not supported anymore. Signed-off-by: Anas Nashif <[email protected]> Co-authored-by: Benjamin Cabé <[email protected]>
1 parent 7c1f30d commit 62ad640

File tree

9 files changed

+15
-15
lines changed

9 files changed

+15
-15
lines changed

.github/workflows/bluetooth-tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
5252
- name: Upload Test Results
5353
if: always()
54-
uses: actions/upload-artifact@v3
54+
uses: actions/upload-artifact@v4
5555
with:
5656
name: bluetooth-test-results
5757
path: |
@@ -60,7 +60,7 @@ jobs:
6060
6161
- name: Upload Event Details
6262
if: always()
63-
uses: actions/upload-artifact@v3
63+
uses: actions/upload-artifact@v4
6464
with:
6565
name: event
6666
path: |

.github/workflows/clang.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
112112
- name: Upload Unit Test Results
113113
if: always() && steps.twister.outputs.report_needed != 0
114-
uses: actions/upload-artifact@v3
114+
uses: actions/upload-artifact@v4
115115
with:
116116
name: Unit Test Results (Subset ${{ matrix.platform }})
117117
path: twister-out/twister.xml
@@ -123,7 +123,7 @@ jobs:
123123
if: (success() || failure() ) && needs.clang-build.outputs.report_needed != 0
124124
steps:
125125
- name: Download Artifacts
126-
uses: actions/download-artifact@v2
126+
uses: actions/download-artifact@v4
127127
with:
128128
path: artifacts
129129

.github/workflows/codecov.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
9696
- name: Upload Coverage Results
9797
if: always()
98-
uses: actions/upload-artifact@v3
98+
uses: actions/upload-artifact@v4
9999
with:
100100
name: Coverage Data (Subset ${{ matrix.platform }})
101101
path: coverage/reports/${{ matrix.platform }}.info
@@ -113,7 +113,7 @@ jobs:
113113
with:
114114
fetch-depth: 0
115115
- name: Download Artifacts
116-
uses: actions/download-artifact@v2
116+
uses: actions/download-artifact@v4
117117
with:
118118
path: coverage/reports
119119

.github/workflows/compliance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
./scripts/ci/check_compliance.py -m Codeowners -m Devicetree -m Gitlint -m Identity -m Nits -m pylint -m checkpatch -m Kconfig -c origin/${BASE_REF}..
7373
7474
- name: upload-results
75-
uses: actions/upload-artifact@v3
75+
uses: actions/upload-artifact@v4
7676
continue-on-error: True
7777
with:
7878
name: compliance.xml

.github/workflows/doc-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
tar cfJ html-output.tar.xz --directory=doc/_build html
8888
8989
- name: upload-build
90-
uses: actions/upload-artifact@v3
90+
uses: actions/upload-artifact@v4
9191
with:
9292
name: html-output
9393
path: html-output.tar.xz
@@ -103,7 +103,7 @@ jobs:
103103
echo "::notice:: Documentation will be available shortly at: ${DOC_URL}"
104104
105105
- name: upload-pr-number
106-
uses: actions/upload-artifact@v3
106+
uses: actions/upload-artifact@v4
107107
if: github.event_name == 'pull_request'
108108
with:
109109
name: pr_num
@@ -161,7 +161,7 @@ jobs:
161161
DOC_TAG=${DOC_TAG} SPHINXOPTS="-q -j auto" LATEXMKOPTS="-quiet -halt-on-error" make -C doc pdf
162162
163163
- name: upload-build
164-
uses: actions/upload-artifact@v3
164+
uses: actions/upload-artifact@v4
165165
with:
166166
name: pdf-output
167167
path: doc/_build/latex/zephyr.pdf

.github/workflows/issue_count.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
token: ${{ secrets.GITHUB_TOKEN }}
3535

3636
- name: upload-stats
37-
uses: actions/upload-artifact@v3
37+
uses: actions/upload-artifact@v4
3838
continue-on-error: True
3939
with:
4040
name: ${{ env.OUTPUT_FILE_NAME }}

.github/workflows/license_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
directory-to-scan: 'scan/'
1717
- name: Artifact Upload
18-
uses: actions/upload-artifact@v3
18+
uses: actions/upload-artifact@v4
1919
with:
2020
name: scancode
2121
path: ./artifacts

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
args: spdx -o zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
2525

2626
- name: upload-results
27-
uses: actions/upload-artifact@v3
27+
uses: actions/upload-artifact@v4
2828
continue-on-error: True
2929
with:
3030
name: zephyr-${{ steps.get_version.outputs.VERSION }}.spdx

.github/workflows/twister.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ jobs:
219219
220220
- name: Upload Unit Test Results
221221
if: always()
222-
uses: actions/upload-artifact@v3
222+
uses: actions/upload-artifact@v4
223223
with:
224224
name: Unit Test Results (Subset ${{ matrix.subset }})
225225
if-no-files-found: ignore
@@ -236,7 +236,7 @@ jobs:
236236

237237
steps:
238238
- name: Download Artifacts
239-
uses: actions/download-artifact@v2
239+
uses: actions/download-artifact@v4
240240
with:
241241
path: artifacts
242242

0 commit comments

Comments
 (0)