Skip to content

Commit

Permalink
fix: set python version in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Lash-L committed Nov 13, 2024
1 parent 33a1e72 commit bdea895
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,25 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"

- uses: snok/[email protected]

- name: Install Dependencies
run: poetry install
shell: bash

- name: Python Semantic Release
id: release
uses: python-semantic-release/python-semantic-release@v8.7.0
uses: python-semantic-release/python-semantic-release@v9.14.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Publish package distributions to PyPI
uses: pypa/[email protected]
with:
password: ${{ secrets.PYPI_TOKEN }}

# NOTE: DO NOT wrap the conditional in ${{ }} as it will always evaluate to true.
# See https://github.com/actions/runner/issues/1173
Expand Down

0 comments on commit bdea895

Please sign in to comment.