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`:
|
Zipping the directory `dir` into `dir.zip`:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: montudor/action-zip@v0.1.1
|
- uses: montudor/action-zip@v1
|
||||||
with:
|
with:
|
||||||
args: zip -qq -r dir.zip dir
|
args: zip -qq -r dir.zip dir
|
||||||
```
|
```
|
||||||
|
@ -15,7 +15,7 @@ Zipping the directory `dir` into `dir.zip`:
|
||||||
Unzipping a `dir.zip` file:
|
Unzipping a `dir.zip` file:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: montudor/action-zip@v0.1.1
|
- uses: montudor/action-zip@v1
|
||||||
with:
|
with:
|
||||||
args: unzip -qq dir.zip -d dir
|
args: unzip -qq dir.zip -d dir
|
||||||
```
|
```
|
||||||
|
@ -24,7 +24,7 @@ Zipping a folder from a different work dir
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Install zip
|
- name: Install zip
|
||||||
uses: montudor/action-zip@v0.1.1
|
uses: montudor/action-zip@v1
|
||||||
|
|
||||||
- name: Zip output
|
- name: Zip output
|
||||||
run: zip -qq -r function.zip dist node_modules package.json
|
run: zip -qq -r function.zip dist node_modules package.json
|
||||||
|
@ -44,7 +44,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- run: composer install --ansi --no-progress --no-interaction --prefer-dist
|
- run: composer install --ansi --no-progress --no-interaction --prefer-dist
|
||||||
- uses: montudor/action-zip@v0.1.1
|
- uses: montudor/action-zip@v1
|
||||||
with:
|
with:
|
||||||
args: zip -qq -r vendor.zip vendor
|
args: zip -qq -r vendor.zip vendor
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
|
@ -58,7 +58,7 @@ jobs:
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: vendor.zip
|
name: vendor.zip
|
||||||
- uses: montudor/action-zip@v0.1.1
|
- uses: montudor/action-zip@v1
|
||||||
with:
|
with:
|
||||||
args: unzip -qq vendor.zip -d vendor
|
args: unzip -qq vendor.zip -d vendor
|
||||||
- run: ./vendor/bin/phpunit
|
- run: ./vendor/bin/phpunit
|
||||||
|
@ -70,7 +70,7 @@ jobs:
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: vendor.zip
|
name: vendor.zip
|
||||||
- uses: montudor/action-zip@v0.1.1
|
- uses: montudor/action-zip@v1
|
||||||
with:
|
with:
|
||||||
args: unzip -qq vendor.zip -d vendor
|
args: unzip -qq vendor.zip -d vendor
|
||||||
- run: ./vendor/bin/infection
|
- run: ./vendor/bin/infection
|
||||||
|
|
Loading…
Reference in a new issue