From a13c291de4d5e97629f29acee1c93f71e344bb64 Mon Sep 17 00:00:00 2001 From: ktro2828 Date: Tue, 19 Sep 2023 18:58:48 +0900 Subject: [PATCH] ci: fix poetry version to 1.5.1 Signed-off-by: ktro2828 --- .github/workflows/build-and-test-mock.yaml | 3 ++- .github/workflows/build-and-test.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test-mock.yaml b/.github/workflows/build-and-test-mock.yaml index 31ed13bb..693e2aa9 100644 --- a/.github/workflows/build-and-test-mock.yaml +++ b/.github/workflows/build-and-test-mock.yaml @@ -35,7 +35,8 @@ jobs: - name: Install dependencies run: | - curl -sSL https://install.python-poetry.org | python - + : # NOTE: In Python3.7.11, failed to install poetry>=1.6.1 + curl -sSL https://install.python-poetry.org | POETRY_VERSION=1.5.1 python - echo "$HOME/.local/bin" >> $GITHUB_PATH poetry install diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index cce192f8..df90a18b 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -32,7 +32,8 @@ jobs: - name: Install dependencies run: | - curl -sSL https://install.python-poetry.org | python - + : # NOTE: In Python3.7.11, failed to install poetry>=1.6.1 + curl -sSL https://install.python-poetry.org | POETRY_VERSION=1.5.1 python - echo "$HOME/.local/bin" >> $GITHUB_PATH poetry install