Skip to content

Commit

Permalink
Set 'allow-prereleases: true' for actions/setup-python workflow, whic…
Browse files Browse the repository at this point in the history
…h will allow falling back to pre-release versions of Python when a matching GA version of Python is not available
  • Loading branch information
kalaspuff committed Sep 6, 2023
1 parent b51efc9 commit 3f17920
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ jobs:
strategy:
max-parallel: 6
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12.0-rc.1']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Set up Poetry cache for Python dependencies
uses: actions/cache@v3
if: startsWith(runner.os, 'Linux')
Expand Down

0 comments on commit 3f17920

Please sign in to comment.