From d9b5102ce74693c3c2b5fda8704c71c002367a84 Mon Sep 17 00:00:00 2001 From: Predrag Gruevski Date: Tue, 5 Sep 2023 17:34:36 +0000 Subject: [PATCH] Revert "Temporarily disable step that seems to be transiently failing. (#10234)" This reverts commit e34ad6fefd74faea1feddcdd5186ebffd3b8bf94. --- .github/actions/poetry_setup/action.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/actions/poetry_setup/action.yml b/.github/actions/poetry_setup/action.yml index 9d7ce548dea02..22dcb05e16e07 100644 --- a/.github/actions/poetry_setup/action.yml +++ b/.github/actions/poetry_setup/action.yml @@ -31,20 +31,20 @@ runs: with: python-version: ${{ inputs.python-version }} - # - uses: actions/cache@v3 - # id: cache-bin-poetry - # name: Cache Poetry binary - Python ${{ inputs.python-version }} - # env: - # SEGMENT_DOWNLOAD_TIMEOUT_MIN: "1" - # with: - # path: | - # /opt/pipx/venvs/poetry - # /opt/pipx_bin/poetry - # # This step caches the poetry installation, so make sure it's keyed on the poetry version as well. - # key: bin-poetry-${{ runner.os }}-${{ runner.arch }}-py-${{ inputs.python-version }}-${{ inputs.poetry-version }} + - uses: actions/cache@v3 + id: cache-bin-poetry + name: Cache Poetry binary - Python ${{ inputs.python-version }} + env: + SEGMENT_DOWNLOAD_TIMEOUT_MIN: "1" + with: + path: | + /opt/pipx/venvs/poetry + /opt/pipx_bin/poetry + # This step caches the poetry installation, so make sure it's keyed on the poetry version as well. + key: bin-poetry-${{ runner.os }}-${{ runner.arch }}-py-${{ inputs.python-version }}-${{ inputs.poetry-version }} - name: Install poetry - # if: steps.cache-bin-poetry.outputs.cache-hit != 'true' + if: steps.cache-bin-poetry.outputs.cache-hit != 'true' shell: bash env: POETRY_VERSION: ${{ inputs.poetry-version }}