mirror of
https://github.com/montudor/action-zip.git
synced 2026-07-18 00:57:00 +02:00
Add another usage example
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user