mirror of
https://github.com/actions/upload-artifact.git
synced 2025-06-29 04:14:15 +00:00
Merge 5442a4e8a3
into 9243a41f97
This commit is contained in:
commit
5b73ce3676
6 changed files with 236 additions and 114 deletions
|
@ -67,6 +67,14 @@ steps:
|
|||
!path/**/*.tmp
|
||||
```
|
||||
|
||||
### Upload multiple artifacts using a JSON string
|
||||
```yaml
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: '["my-artifact", "my-artifact-2"]'
|
||||
path: '["path/to/artifact/1/", "path/to/artifact/2/"]'
|
||||
```
|
||||
|
||||
For supported wildcards along with behavior and documentation, see [@actions/glob](https://github.com/actions/toolkit/tree/main/packages/glob) which is used internally to search for files.
|
||||
|
||||
If a wildcard pattern is used, the path hierarchy will be preserved after the first wildcard pattern.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue