mirror of
https://github.com/papeloto/action-zip
synced 2024-11-22 13:39:34 -08:00
Merge pull request #31 from willryan-stemcell/master
This commit is contained in:
commit
35d8338a67
1 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ Whether to add subdirectories to simply zip all files to the root.
|
||||||
If for example, you do the following:
|
If for example, you do the following:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: vimtor/action-zip@v1
|
- uses: vimtor/action-zip@v1.1
|
||||||
with:
|
with:
|
||||||
files: dist/ manifest.json
|
files: dist/ manifest.json
|
||||||
recursive: false
|
recursive: false
|
||||||
|
@ -67,7 +67,7 @@ Also if you want a nested file at the root, `recursive: true` is your guy.
|
||||||
If you want to check that the output is the desired one I recommend you to add the following step after zipping. You will be able to download the `result.zip` file.
|
If you want to check that the output is the desired one I recommend you to add the following step after zipping. You will be able to download the `result.zip` file.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: actions/upload-artifact@v1
|
- uses: actions/upload-artifact@v1.1
|
||||||
with:
|
with:
|
||||||
name: my-artifact
|
name: my-artifact
|
||||||
path: ${{ github.workspace }}/result.zip
|
path: ${{ github.workspace }}/result.zip
|
||||||
|
|
Loading…
Reference in a new issue