Skip to content

Commit

Permalink
Upgrade version to 1.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
sondrelg committed May 21, 2021
1 parent 9a715c7 commit e1f6566
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ If all you need is default Poetry, simply add this to your workflow:

```yaml
- name: Install Poetry
uses: snok/install-poetry@v1.1.4
uses: snok/install-poetry@v1.1.5
```
If you want to set Poetry config settings, or install a specific version, you can specify inputs
```yaml
- name: Install and configure Poetry
uses: snok/install-poetry@v1.1.4
uses: snok/install-poetry@v1.1.5
with:
version: 1.1.6
virtualenvs-create: true
Expand All @@ -49,7 +49,7 @@ or just to make changes to the Poetry config *after* invoking the action -
you can do so in a subsequent step, like this

```yaml
- uses: snok/install-poetry@v1.1.4
- uses: snok/install-poetry@v1.1.5
- run: poetry config experimental.new-installer false
```

Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
# ----- install & configure poetry -----
#----------------------------------------------
- name: Install Poetry
uses: snok/install-poetry@v1.1.4
uses: snok/install-poetry@v1.1.5
with:
virtualenvs-create: true
virtualenvs-in-project: true
Expand Down Expand Up @@ -192,7 +192,7 @@ jobs:
# ----- install & configure poetry -----
#----------------------------------------------
- name: Install Poetry
uses: snok/install-poetry@v1.1.4
uses: snok/install-poetry@v1.1.5
with:
virtualenvs-create: true
virtualenvs-in-project: true
Expand Down Expand Up @@ -259,7 +259,7 @@ jobs:
# ----- install & configure poetry -----
#----------------------------------------------
- name: Install Poetry
uses: snok/install-poetry@v1.1.4
uses: snok/install-poetry@v1.1.5
with:
virtualenvs-create: true
virtualenvs-in-project: true
Expand Down Expand Up @@ -360,7 +360,7 @@ jobs:
with:
python-version: 3.9
- name: Install Poetry
uses: snok/install-poetry@v1.1.4
uses: snok/install-poetry@v1.1.5
with:
virtualenvs-create: true
virtualenvs-in-project: true
Expand Down Expand Up @@ -395,7 +395,7 @@ All of the examples we've added use these Poetry settings

```yaml
- name: Install Poetry
uses: snok/install-poetry@v1.1.4
uses: snok/install-poetry@v1.1.5
with:
virtualenvs-create: true
virtualenvs-in-project: true
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "install-poetry"
version = "1.1.4"
version = "1.1.5"
description = ""
authors = ["Sondre Lillebø Gundersen <sondrelg@live.no.com>"]
maintainers = ["Jonas Krüger Svensson <jonasks@hotmail.com>"]
Expand Down
6 changes: 3 additions & 3 deletions scripts/v1.2/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ if [ "$os" == "Windows" ]; then
path="C:/Users/runneradmin/AppData/Roaming/Python/Scripts/poetry.exe"

# Configure Poetry
poetry config virtualenvs.create "$venv_create"
poetry config virtualenvs.in-project "$venv_in_project"
poetry config virtualenvs.path "$venv_path"
$path config virtualenvs.create "$venv_create"
$path config virtualenvs.in-project "$venv_in_project"
$path config virtualenvs.path "$venv_path"

# Add system path, so the executable is made available in the next workflow steps
echo "C:/Users/runneradmin/AppData/Roaming/Python/Scripts/" >> $GITHUB_PATH
Expand Down

0 comments on commit e1f6566

Please sign in to comment.