Skip to content

Commit 41bf820

Browse files
Bump actions/download-artifact from 4 to 5 (#602)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/download-artifact/releases">actions/download-artifact's releases</a>.</em></p> <blockquote> <h2>v5.0.0</h2> <h2>What's Changed</h2> <ul> <li>Update README.md by <a href="https://github.com/nebuk89"><code>@​nebuk89</code></a> in <a href="https://redirect.github.com/actions/download-artifact/pull/407">actions/download-artifact#407</a></li> <li>BREAKING fix: inconsistent path behavior for single artifact downloads by ID by <a href="https://github.com/GrantBirki"><code>@​GrantBirki</code></a> in <a href="https://redirect.github.com/actions/download-artifact/pull/416">actions/download-artifact#416</a></li> </ul> <h2>v5.0.0</h2> <h3>🚨 Breaking Change</h3> <p>This release fixes an inconsistency in path behavior for single artifact downloads by ID. <strong>If you're downloading single artifacts by ID, the output path may change.</strong></p> <h4>What Changed</h4> <p>Previously, <strong>single artifact downloads</strong> behaved differently depending on how you specified the artifact:</p> <ul> <li><strong>By name</strong>: <code>name: my-artifact</code> → extracted to <code>path/</code> (direct)</li> <li><strong>By ID</strong>: <code>artifact-ids: 12345</code> → extracted to <code>path/my-artifact/</code> (nested)</li> </ul> <p>Now both methods are consistent:</p> <ul> <li><strong>By name</strong>: <code>name: my-artifact</code> → extracted to <code>path/</code> (unchanged)</li> <li><strong>By ID</strong>: <code>artifact-ids: 12345</code> → extracted to <code>path/</code> (fixed - now direct)</li> </ul> <h4>Migration Guide</h4> <h5>✅ No Action Needed If:</h5> <ul> <li>You download artifacts by <strong>name</strong></li> <li>You download <strong>multiple</strong> artifacts by ID</li> <li>You already use <code>merge-multiple: true</code> as a workaround</li> </ul> <h5>⚠️ Action Required If:</h5> <p>You download <strong>single artifacts by ID</strong> and your workflows expect the nested directory structure.</p> <p><strong>Before v5 (nested structure):</strong></p> <pre lang="yaml"><code>- uses: actions/download-artifact@v4 with: artifact-ids: 12345 path: dist # Files were in: dist/my-artifact/ </code></pre> <blockquote> <p>Where <code>my-artifact</code> is the name of the artifact you previously uploaded</p> </blockquote> <p><strong>To maintain old behavior (if needed):</strong></p> <pre lang="yaml"><code>&lt;/tr&gt;&lt;/table&gt; </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/download-artifact/commit/634f93cb2916e3fdff6788551b99b062d0335ce0"><code>634f93c</code></a> Merge pull request <a href="https://redirect.github.com/actions/download-artifact/issues/416">#416</a> from actions/single-artifact-id-download-path</li> <li><a href="https://github.com/actions/download-artifact/commit/b19ff4302770b82aa4694b63703b547756dacce6"><code>b19ff43</code></a> refactor: resolve download path correctly in artifact download tests (mainly ...</li> <li><a href="https://github.com/actions/download-artifact/commit/e262cbee4ab8c473c61c59a81ad8e9dc760e90db"><code>e262cbe</code></a> bundle dist</li> <li><a href="https://github.com/actions/download-artifact/commit/bff23f9308ceb2f06d673043ea6311519be6a87b"><code>bff23f9</code></a> update docs</li> <li><a href="https://github.com/actions/download-artifact/commit/fff8c148a8fdd56aa81fcb019f0b5f6c65700c4d"><code>fff8c14</code></a> fix download path logic when downloading a single artifact by id</li> <li><a href="https://github.com/actions/download-artifact/commit/448e3f862ab3ef47aa50ff917776823c9946035b"><code>448e3f8</code></a> Merge pull request <a href="https://redirect.github.com/actions/download-artifact/issues/407">#407</a> from actions/nebuk89-patch-1</li> <li><a href="https://github.com/actions/download-artifact/commit/47225c44b359a5155efdbbbc352041b3e249fb1b"><code>47225c4</code></a> Update README.md</li> <li>See full diff in <a href="https://github.com/actions/download-artifact/compare/v4...v5">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/download-artifact&package-manager=github_actions&previous-version=4&new-version=5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 252b535 commit 41bf820

File tree

5 files changed

+19
-19
lines changed

5 files changed

+19
-19
lines changed

.github/workflows/mac.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
brew install ninja mpich llvm libomp openssl
6363
brew link libomp --overwrite --force
6464
- name: Download installed package
65-
uses: actions/download-artifact@v4
65+
uses: actions/download-artifact@v5
6666
with:
6767
name: macos-clang-install
6868
- name: Extract installed package
@@ -93,7 +93,7 @@ jobs:
9393
brew install ninja mpich llvm libomp openssl
9494
brew link libomp --overwrite --force
9595
- name: Download installed package
96-
uses: actions/download-artifact@v4
96+
uses: actions/download-artifact@v5
9797
with:
9898
name: macos-clang-install
9999
- name: Extract installed package

.github/workflows/pages.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
run: |
4646
python3 -m pip install -r docs/requirements.txt
4747
- name: Download artifact
48-
uses: actions/download-artifact@v4
48+
uses: actions/download-artifact@v5
4949
with:
5050
name: doxygen-documentation-xml
5151
path: xml
@@ -78,7 +78,7 @@ jobs:
7878
python3 -m pip install -r requirements.txt
7979
python3 -m pip install -r scoreboard/requirements.txt
8080
- name: Download performance data
81-
uses: actions/download-artifact@v4
81+
uses: actions/download-artifact@v5
8282
with:
8383
name: perf-stat
8484
- name: Extract performance data
@@ -109,17 +109,17 @@ jobs:
109109
cancel-in-progress: false
110110
steps:
111111
- name: Download artifact
112-
uses: actions/download-artifact@v4
112+
uses: actions/download-artifact@v5
113113
with:
114114
name: sphinx-documentation
115115
path: ./
116116
- name: Download artifact
117-
uses: actions/download-artifact@v4
117+
uses: actions/download-artifact@v5
118118
with:
119119
name: scoreboard
120120
path: ./scoreboard/
121121
- name: Download coverage artifact
122-
uses: actions/download-artifact@v4
122+
uses: actions/download-artifact@v5
123123
with:
124124
name: cov-report
125125
path: ./coverage/

.github/workflows/perf.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
run: |
1616
python3 -m pip install -r requirements.txt --break-system-packages --ignore-installed
1717
- name: Download installed package
18-
uses: actions/download-artifact@v4
18+
uses: actions/download-artifact@v5
1919
with:
2020
name: ubuntu-gcc-install-ubuntu-24.04
2121
- name: Extract installed package
@@ -53,7 +53,7 @@ jobs:
5353
brew link libomp --overwrite --force
5454
python3 -m pip install -r requirements.txt --break-system-packages
5555
- name: Download installed package
56-
uses: actions/download-artifact@v4
56+
uses: actions/download-artifact@v5
5757
with:
5858
name: macos-clang-install
5959
- name: Extract installed package

.github/workflows/ubuntu.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
steps:
7171
- uses: actions/checkout@v4
7272
- name: Download installed package
73-
uses: actions/download-artifact@v4
73+
uses: actions/download-artifact@v5
7474
with:
7575
name: ubuntu-gcc-install-${{ matrix.os }}
7676
- name: Extract installed package
@@ -102,7 +102,7 @@ jobs:
102102
steps:
103103
- uses: actions/checkout@v4
104104
- name: Download installed package
105-
uses: actions/download-artifact@v4
105+
uses: actions/download-artifact@v5
106106
with:
107107
name: ubuntu-gcc-install-${{ matrix.os }}
108108
- name: Extract installed package
@@ -172,7 +172,7 @@ jobs:
172172
steps:
173173
- uses: actions/checkout@v4
174174
- name: Download installed package
175-
uses: actions/download-artifact@v4
175+
uses: actions/download-artifact@v5
176176
with:
177177
name: ubuntu-clang-install-${{ matrix.os }}
178178
- name: Extract installed package
@@ -204,7 +204,7 @@ jobs:
204204
steps:
205205
- uses: actions/checkout@v4
206206
- name: Download installed package
207-
uses: actions/download-artifact@v4
207+
uses: actions/download-artifact@v5
208208
with:
209209
name: ubuntu-clang-install-${{ matrix.os }}
210210
- name: Extract installed package
@@ -278,7 +278,7 @@ jobs:
278278
steps:
279279
- uses: actions/checkout@v4
280280
- name: Download installed package
281-
uses: actions/download-artifact@v4
281+
uses: actions/download-artifact@v5
282282
with:
283283
name: ubuntu-clang-sanitizer-install-${{ matrix.os }}
284284
- name: Extract installed package
@@ -316,7 +316,7 @@ jobs:
316316
steps:
317317
- uses: actions/checkout@v4
318318
- name: Download installed package
319-
uses: actions/download-artifact@v4
319+
uses: actions/download-artifact@v5
320320
with:
321321
name: ubuntu-clang-sanitizer-install-${{ matrix.os }}
322322
- name: Extract installed package

.github/workflows/windows.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- uses: actions/checkout@v4
4848
- uses: ./.github/actions/setup-windows-toolchain
4949
- name: Download installed package
50-
uses: actions/download-artifact@v4
50+
uses: actions/download-artifact@v5
5151
with:
5252
name: windows-msvc-install
5353
- name: Extract installed package
@@ -72,7 +72,7 @@ jobs:
7272
- uses: actions/checkout@v4
7373
- uses: ./.github/actions/setup-windows-toolchain
7474
- name: Download installed package
75-
uses: actions/download-artifact@v4
75+
uses: actions/download-artifact@v5
7676
with:
7777
name: windows-msvc-install
7878
- name: Extract installed package
@@ -134,7 +134,7 @@ jobs:
134134
- uses: actions/checkout@v4
135135
- uses: ./.github/actions/setup-windows-toolchain
136136
- name: Download installed package
137-
uses: actions/download-artifact@v4
137+
uses: actions/download-artifact@v5
138138
with:
139139
name: windows-clang-install
140140
- name: Extract installed package
@@ -155,7 +155,7 @@ jobs:
155155
- uses: actions/checkout@v4
156156
- uses: ./.github/actions/setup-windows-toolchain
157157
- name: Download installed package
158-
uses: actions/download-artifact@v4
158+
uses: actions/download-artifact@v5
159159
with:
160160
name: windows-clang-install
161161
- name: Extract installed package

0 commit comments

Comments
 (0)