Skip to content

Commit dd0d314

Browse files
Update publish.yml workflow
1 parent 817af7c commit dd0d314

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ jobs:
1515
- name: Set up Python
1616
uses: actions/setup-python@v5
1717
with:
18-
python-version: "3.x"
18+
python-version: "3.11" # Use a version compatible with >=3.8,<3.12
1919
- name: Install Poetry
2020
uses: snok/install-poetry@v1
21+
with:
22+
version: 1.8.2 # Match local version
2123
- name: Bump version
2224
run: poetry version $(git describe --tags --abbrev=0)
2325
- name: Build a binary wheel and a source tarball
@@ -37,7 +39,7 @@ jobs:
3739
runs-on: ubuntu-latest
3840
environment:
3941
name: release
40-
url: https://pypi.org/p/healthchain # Replace <package-name> with your PyPI project name
42+
url: https://pypi.org/p/healthchain
4143
permissions:
4244
id-token: write # IMPORTANT: mandatory for trusted publishing
4345
steps:

0 commit comments

Comments
 (0)