Remove migration guide for artifact download changes

Readme probably should be less verbose since it's not a changelog.
This commit is contained in:
Yang Cao 2025-08-05 18:06:12 -04:00 committed by GitHub
parent 2653c123b8
commit 7993cb44e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,31 +34,6 @@ Now both methods are consistent:
- **By name**: `name: my-artifact` → extracted to `path/` (unchanged)
- **By ID**: `artifact-ids: 12345` → extracted to `path/` (updated - now direct)
#### Migration Guide
If you download **single artifacts by ID** and your workflows expect the nested directory structure:
**Before v5 (nested structure):**
```yaml
- uses: actions/download-artifact@v4
with:
artifact-ids: 12345
path: dist
# Files were in: dist/my-artifact/
```
> Where `my-artifact` is the name of the artifact you previously uploaded
**To maintain old behavior:**
```yaml
- uses: actions/download-artifact@v5
with:
artifact-ids: 12345
path: dist/my-artifact # Explicitly specify the nested path
```
## v4 - What's new
> [!IMPORTANT]