Skip to content

Commit bee51ad

Browse files
committed
install python
1 parent c797f96 commit bee51ad

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
pypi-publish:
3636
name: upload release to PyPI
3737
runs-on: ubuntu-latest
38-
needs: test
38+
# needs: test
3939
# Specifying a GitHub environment is optional, but strongly encouraged
4040
environment:
4141
name: pypi
@@ -44,6 +44,12 @@ jobs:
4444
# IMPORTANT: this permission is mandatory for Trusted Publishing
4545
id-token: write
4646
steps:
47+
- uses: actions/checkout@v4
48+
- name: Set up Python ${{ matrix.python-version }}
49+
uses: actions/setup-python@v5
50+
with:
51+
python-version: 3.9
52+
cache: 'pip'
4753
- name: Build
4854
run: python -m build --sdist .
4955
- name: Publish package distributions to PyPI

0 commit comments

Comments
 (0)