Skip to content

Commit 875b630

Browse files
committed
add limitations section
1 parent ecb2146 commit 875b630

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ See also [download-artifact](https://github.com/actions/download-artifact).
2424
- [Using Outputs](#using-outputs)
2525
- [Example output between steps](#example-output-between-steps)
2626
- [Example output between jobs](#example-output-between-jobs)
27+
- [Limitations](#limitations)
28+
- [Number of Artifacts](#number-of-artifacts)
29+
- [Zip archives](#zip-archives)
30+
- [Permission Loss](#permission-loss)
2731
- [Where does the upload go?](#where-does-the-upload-go)
2832

2933

@@ -358,6 +362,35 @@ jobs:
358362
run: echo "Artifact ID from previous job is $OUTPUT1"
359363
```
360364

365+
## Limitations
366+
367+
### Number of Artifacts
368+
369+
Within an individual job, there is a limit of 10 artifacts that can be created for that job.
370+
371+
You may also be limited by Artifacts if you have exceeded your shared storage quota. Storage is calculated every 6-12 hours. See [the documentation](https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending) for more info.
372+
373+
### Zip archives
374+
375+
When an Artifact is uploaded, all the files are assembled into an immutable Zip archive. There is currently no way to download artifacts in a format other than a Zip or to download individual artifact contents.
376+
377+
### Permission Loss
378+
379+
File permissions are not maintained during artifact upload. All directories will have `755` and all files will have `644`. For example, if you make a file executable using `chmod` and then upload that file, post-download the file is no longer guaranteed to be set as an executable.
380+
381+
If you must preserve permissions, you can `tar` all of your files together before artifact upload. Post download, the `tar` file will maintain file permissions and case sensitivity.
382+
383+
```yaml
384+
- name: 'Tar files'
385+
run: tar -cvf my_files.tar /path/to/my/directory
386+
387+
- name: 'Upload Artifact'
388+
uses: actions/upload-artifact@v4
389+
with:
390+
name: my-artifact
391+
path: my_files.tar
392+
```
393+
361394
## Where does the upload go?
362395

363396
At the bottom of the workflow summary page, there is a dedicated section for artifacts. Here's a screenshot of something you might see:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy