mirror of
https://github.com/montudor/action-zip.git
synced 2024-11-21 15:40:58 -05:00
Update README to include v1 tag
This commit is contained in:
parent
a8e75c9fae
commit
0852c26906
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue