Skip to content

Commit

Permalink
fix: install poetry before python
Browse files Browse the repository at this point in the history
  • Loading branch information
chizmw committed Oct 9, 2023
1 parent c67c1c5 commit b9f98bd
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,18 @@ jobs:
# because we know some of our terraform has an external poetry data
# source, we need to install poetry
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version-file: lambda-src/api-render-pdf/pyproject.toml
cache: poetry

- name: Setup Poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: 1.6.1

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version-file: lambda-src/api-render-pdf/pyproject.toml
cache: poetry

- name: Prerelease Version
shell: bash
if: github.event_name == 'pull_request'
Expand Down

0 comments on commit b9f98bd

Please sign in to comment.