Skip to content

Commit f701914

Browse files
Bump actions/download-artifact from 4 to 5 (#33)
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 1eddba2 commit f701914

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

.github/workflows/_ascend_npu_benchmark.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676

7777
- name: Download torch artifact
7878
if: ${{ inputs.torch-artifact }}
79-
uses: actions/download-artifact@v4
79+
uses: actions/download-artifact@v5
8080
with:
8181
name: ${{ inputs.torch-artifact }}
8282

@@ -91,7 +91,7 @@ jobs:
9191
pip install -r https://raw.githubusercontent.com/Ascend/pytorch/refs/heads/master/requirements.txt
9292
9393
- name: Download torch_npu artifact
94-
uses: actions/download-artifact@v4
94+
uses: actions/download-artifact@v5
9595
with:
9696
name: ${{ inputs.torch-npu-artifact }}
9797
path: ascend_npu
@@ -189,7 +189,7 @@ jobs:
189189
uses: actions/checkout@v4
190190

191191
- name: Download README.md
192-
uses: actions/download-artifact@v4
192+
uses: actions/download-artifact@v5
193193
with:
194194
name: README.md
195195

.github/workflows/_ascend_npu_build_torch_npu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171

7272
- name: Download torch artifact
7373
if: ${{ inputs.torch-artifact }}
74-
uses: actions/download-artifact@v4
74+
uses: actions/download-artifact@v5
7575
with:
7676
name: ${{ inputs.torch-artifact }}
7777

.github/workflows/_ascend_npu_torchtune.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868

6969
- name: Download torch artifact
7070
if: ${{ inputs.torch-artifact }}
71-
uses: actions/download-artifact@v4
71+
uses: actions/download-artifact@v5
7272
with:
7373
name: ${{ inputs.torch-artifact }}
7474

@@ -90,7 +90,7 @@ jobs:
9090
echo "torch-version=${torch_version}" >> $GITHUB_OUTPUT
9191
9292
- name: Download torch_npu artifact
93-
uses: actions/download-artifact@v4
93+
uses: actions/download-artifact@v5
9494
with:
9595
name: ${{ inputs.torch-npu-artifact }}
9696
path: ascend_npu

.github/workflows/_ascend_npu_ut.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272

7373
- name: Download torch artifact
7474
if: ${{ inputs.torch-artifact }}
75-
uses: actions/download-artifact@v4
75+
uses: actions/download-artifact@v5
7676
with:
7777
name: ${{ inputs.torch-artifact }}
7878

@@ -82,7 +82,7 @@ jobs:
8282
pip install ${{ inputs.torch-artifact }}
8383
8484
- name: Download torch_npu artifact
85-
uses: actions/download-artifact@v4
85+
uses: actions/download-artifact@v5
8686
with:
8787
name: ${{ inputs.torch-npu-artifact }}
8888
path: torch_npu

.github/workflows/_gaudi_hpu_benchmark.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
115115
- name: Download torch artifact
116116
if: ${{ inputs.torch-artifact }}
117-
uses: actions/download-artifact@v4
117+
uses: actions/download-artifact@v5
118118
with:
119119
name: ${{ inputs.torch-artifact }}
120120

@@ -124,7 +124,7 @@ jobs:
124124
pip install ${{ inputs.torch-artifact }}
125125
126126
- name: Download torch_hpu artifact
127-
uses: actions/download-artifact@v4
127+
uses: actions/download-artifact@v5
128128
with:
129129
# name: ${{ inputs.torch-hpu-artifact }}
130130
name: torch_hpu_dists

.github/workflows/_gaudi_hpu_build_torch_hpu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
8686
- name: Download torch artifact
8787
if: ${{ inputs.torch-artifact }}
88-
uses: actions/download-artifact@v4
88+
uses: actions/download-artifact@v5
8989
with:
9090
name: ${{ inputs.torch-artifact }}
9191

.github/workflows/_gaudi_hpu_ut.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
115115
- name: Download torch artifact
116116
if: ${{ inputs.torch-artifact }}
117-
uses: actions/download-artifact@v4
117+
uses: actions/download-artifact@v5
118118
with:
119119
name: ${{ inputs.torch-artifact }}
120120

@@ -124,7 +124,7 @@ jobs:
124124
pip install ${{ inputs.torch-artifact }}
125125
126126
- name: Download torch_hpu artifact
127-
uses: actions/download-artifact@v4
127+
uses: actions/download-artifact@v5
128128
with:
129129
# name: ${{ inputs.torch-hpu-artifact }}
130130
name: torch_hpu_dists

0 commit comments

Comments
 (0)