File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed
Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -34,31 +34,6 @@ Now both methods are consistent:
3434- ** By name** : ` name: my-artifact ` → extracted to ` path/ ` (unchanged)
3535- ** By ID** : ` artifact-ids: 12345 ` → extracted to ` path/ ` (updated - now direct)
3636
37- #### Migration Guide
38-
39- If you download ** single artifacts by ID** and your workflows expect the nested directory structure:
40-
41- ** Before v5 (nested structure):**
42-
43- ``` yaml
44- - uses : actions/download-artifact@v4
45- with :
46- artifact-ids : 12345
47- path : dist
48- # Files were in: dist/my-artifact/
49- ```
50-
51- > Where ` my-artifact ` is the name of the artifact you previously uploaded
52-
53- ** To maintain old behavior:**
54-
55- ``` yaml
56- - uses : actions/download-artifact@v5
57- with :
58- artifact-ids : 12345
59- path : dist/my-artifact # Explicitly specify the nested path
60- ` ` `
61-
6237## v4 - What's new
6338
6439> [ !IMPORTANT]
You can’t perform that action at this time.
0 commit comments