Skip to content

Commit dcad510

Browse files
authored
fix: set python version in ci (#239)
1 parent 33a1e72 commit dcad510

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,25 @@ jobs:
7070
- uses: actions/checkout@v4
7171
with:
7272
fetch-depth: 0
73+
- name: Set up Python 3.11
74+
uses: actions/setup-python@v5
75+
with:
76+
python-version: "3.11"
77+
78+
- uses: snok/[email protected]
79+
80+
- name: Install Dependencies
81+
run: poetry install
82+
shell: bash
7383

7484
- name: Python Semantic Release
7585
id: release
76-
uses: python-semantic-release/python-semantic-release@v8.7.0
86+
uses: python-semantic-release/python-semantic-release@v9.14.0
7787
with:
7888
github_token: ${{ secrets.GITHUB_TOKEN }}
7989

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

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

0 commit comments

Comments
 (0)