Skip to content

Commit

Permalink
wip: see if python 3.7 can work with new poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
mcous committed Nov 3, 2023
1 parent 6fb98ff commit 5786b66
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ runs:
id: setup-python
uses: actions/setup-python@v4
with:
python-version: |
${{ inputs.python-version }}
3.12
python-version: ${{ inputs.python-version }}

- if: ${{ inputs.python-version == '3.12' }}
name: 'Set up Python 3.12 for Poetry'
uses: actions/setup-python@v4
with:
python-version: 3.12

- name: 'Set up dependency cache'
uses: actions/cache@v3
Expand Down Expand Up @@ -51,5 +55,5 @@ runs:
shell: bash
run: |
poetry config cache-dir "${{ inputs.cache }}/poetry"
poetry env use ${{ inputs.python-version }}
poetry env use "${{ steps.setup-python.outputs.python-path }}"
poetry install --sync

0 comments on commit 5786b66

Please sign in to comment.