diff --git a/README.md b/README.md index e08e6e4..d1cfffb 100644 --- a/README.md +++ b/README.md @@ -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