Update README to include v1 tag

This commit is contained in:
Monte Hellawell 2021-04-21 18:44:44 +01:00 committed by GitHub
parent a8e75c9fae
commit 0852c26906
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ This GitHub action exposes the zip command for use in building/archiving. It is
Zipping the directory `dir` into `dir.zip`:
```yaml
- uses: montudor/action-zip@v0.1.1
- uses: montudor/action-zip@v1
with:
args: zip -qq -r dir.zip dir
```
@ -15,7 +15,7 @@ Zipping the directory `dir` into `dir.zip`:
Unzipping a `dir.zip` file:
```yaml
- uses: montudor/action-zip@v0.1.1
- uses: montudor/action-zip@v1
with:
args: unzip -qq dir.zip -d dir
```
@ -24,7 +24,7 @@ Zipping a folder from a different work dir
```yaml
- name: Install zip
uses: montudor/action-zip@v0.1.1
uses: montudor/action-zip@v1
- name: Zip output
run: zip -qq -r function.zip dist node_modules package.json
@ -44,7 +44,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- run: composer install --ansi --no-progress --no-interaction --prefer-dist
- uses: montudor/action-zip@v0.1.1
- uses: montudor/action-zip@v1
with:
args: zip -qq -r vendor.zip vendor
- uses: actions/upload-artifact@v2
@ -58,7 +58,7 @@ jobs:
- uses: actions/download-artifact@v2
with:
name: vendor.zip
- uses: montudor/action-zip@v0.1.1
- uses: montudor/action-zip@v1
with:
args: unzip -qq vendor.zip -d vendor
- run: ./vendor/bin/phpunit
@ -70,7 +70,7 @@ jobs:
- uses: actions/download-artifact@v2
with:
name: vendor.zip
- uses: montudor/action-zip@v0.1.1
- uses: montudor/action-zip@v1
with:
args: unzip -qq vendor.zip -d vendor
- run: ./vendor/bin/infection