Update README.md

This commit is contained in:
Víctor Navarro 2020-03-21 16:36:09 +01:00 committed by GitHub
parent 8932131893
commit 1ea5c54290
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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. 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. 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
```