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