mirror of
https://github.com/papeloto/action-zip
synced 2024-11-22 05:29:35 -08:00
Update README.md
This commit is contained in:
parent
8932131893
commit
1ea5c54290
1 changed files with 11 additions and 0 deletions
11
README.md
11
README.md
|
@ -61,3 +61,14 @@ If for example, you do the following:
|
|||
All the files inside the `dist` folder will be added at the root of the zip along with `manifest.json`. By contrast, if `recursive: true` (by default), the folder `dist` is included.
|
||||
|
||||
Also if you want a nested file at the root, `recursive: false` is your guy.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
If you want to check that the output is the desired one I recommend you to add the following step after zipping. You will me able to download the `result.zip` file.
|
||||
|
||||
```yaml
|
||||
- uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: my-artifact
|
||||
path: ${{ github.workspace }}/result.zip
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue