mirror of
https://github.com/actions/download-artifact
synced 2025-09-22 03:38:09 +00:00
Compare commits
4 commits
d2fd2c51b1
...
d93203d1c2
Author | SHA1 | Date | |
---|---|---|---|
![]() |
d93203d1c2 | ||
![]() |
abefc31eaf | ||
![]() |
ac43a6070a | ||
![]() |
86f43ed3c7 |
1 changed files with 9 additions and 0 deletions
|
@ -34,6 +34,8 @@ 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)
|
||||
|
||||
Note: This change also applies to patterns that only match a single artifact.
|
||||
|
||||
## v4 - What's new
|
||||
|
||||
> [!IMPORTANT]
|
||||
|
@ -325,3 +327,10 @@ If you must preserve permissions, you can `tar` all of your files together befor
|
|||
name: my-artifact
|
||||
path: my_files.tar
|
||||
```
|
||||
|
||||
# Recommended Permissions
|
||||
|
||||
The `actions/download-artifact` workflow relies on an internal authentication pattern and does not use the GITHUB_TOKEN, to reduce risk of over-privileged token, jobs that use `actions/download-artifact` should set permissions to none:
|
||||
|
||||
```yaml
|
||||
perm
|
||||
|
|
Loading…
Reference in a new issue