Skip to content

Commit

Permalink
[chore] update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Gr1N committed Jul 11, 2021
1 parent 73d4caa commit 03807e4
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ This action supports versions of:

## Usage

See [action.yml](https://github.com/Gr1N/setup-poetry/blob/master/action.yml).

### Install latest available version of Poetry

```yaml
Expand All @@ -32,7 +30,7 @@ steps:
- uses: actions/setup-python@v1
with:
python-version: 3.8
- uses: Gr1N/setup-poetry@v5
- uses: Gr1N/setup-poetry@v6
- run: poetry --version
```
Expand All @@ -44,9 +42,9 @@ steps:
- uses: actions/setup-python@v1
with:
python-version: 3.8
- uses: Gr1N/setup-poetry@v5
- uses: Gr1N/setup-poetry@v6
with:
poetry-version: 1.0.0
poetry-version: 1.1.7
- run: poetry --version
```
Expand All @@ -58,7 +56,7 @@ steps:
- uses: actions/setup-python@v1
with:
python-version: 3.8
- uses: Gr1N/setup-poetry@v5
- uses: Gr1N/setup-poetry@v6
with:
poetry-preview: true
- run: poetry --version
Expand All @@ -72,7 +70,7 @@ steps:
- uses: actions/setup-python@v1
with:
python-version: 3.8
- uses: Gr1N/setup-poetry@v5
- uses: Gr1N/setup-poetry@v6
- uses: actions/cache@v2
with:
path: ~/.cache/pypoetry/virtualenvs
Expand All @@ -92,7 +90,7 @@ steps:
- uses: actions/setup-python@v1
with:
python-version: 3.8
- uses: Gr1N/setup-poetry@v5
- uses: Gr1N/setup-poetry@v6
- run: poetry --version
env:
POETRY_VIRTUALENVS_PATH: /path/to/virtualenvs/directory
Expand Down

0 comments on commit 03807e4

Please sign in to comment.