Add another usage example

This commit is contained in:
Monte Hellawell 2020-11-18 14:58:41 +00:00 committed by GitHub
parent bb35d8a108
commit 1929264da3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,17 @@ Unzipping a `dir.zip` file:
args: unzip -qq dir.zip -d dir
```
Zipping a folder from a different work dir
```yaml
- name: Install zip
uses: montudor/action-zip@v0.1.0
- name: Zip output
run: zip -qq -r function.zip dist node_modules package.json
working-directory: path/to/work-dir
```
Reusing the same zip between steps in a `PHP` CI with unit and mutation tests:
```yaml