Skip to content

Commit

Permalink
build: Set up Python 3.12 and Poetry caching in docker workflow. (#3296)
Browse files Browse the repository at this point in the history
  • Loading branch information
ogabrielluiz authored Aug 12, 2024
1 parent dc419d1 commit d8af665
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,16 @@ jobs:
get-version:
name: Get Version
runs-on: ubuntu-latest

outputs:
version: ${{ steps.get-version-input.outputs.version || steps.get-version-base.outputs.version || steps.get-version-main.outputs.version }}
steps:
- name: Set up Python 3.12 + Poetry ${{ env.POETRY_VERSION }}
uses: "./.github/actions/poetry_caching"
with:
python-version: "3.12"
poetry-version: ${{ env.POETRY_VERSION }}
cache-key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-${{ hashFiles('**/poetry.lock') }}
- name: Get Version from Input
if : ${{ inputs.version != '' }}
id: get-version-input
Expand Down

0 comments on commit d8af665

Please sign in to comment.