Skip to content

Commit 73386d6

Browse files
lpilzandersy005
andauthored
Fix pypi build (#193)
* Fix python version number * Add check for pypi build when pushing to main Co-authored-by: Anderson Banihirwe <[email protected]> --------- Co-authored-by: Anderson Banihirwe <[email protected]>
1 parent 79721d7 commit 73386d6

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/pypi-release.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ on:
44
types:
55
- published
66
push:
7+
branches:
8+
- main
9+
pull_request:
10+
branches:
11+
- main
712

813
jobs:
914
build-artifacts:
@@ -16,7 +21,7 @@ jobs:
1621
- uses: actions/setup-python@v5
1722
name: Install Python
1823
with:
19-
python-version: 3.10
24+
python-version: "3.10"
2025

2126
- name: Install dependencies
2227
run: |
@@ -51,7 +56,7 @@ jobs:
5156
- uses: actions/setup-python@v5
5257
name: Install Python
5358
with:
54-
python-version: 3.10
59+
python-version: "3.10"
5560
- uses: actions/download-artifact@v4
5661
with:
5762
name: releases

0 commit comments

Comments
 (0)