Skip to content

Commit 7b44f32

Browse files
committed
build: set python version to 3.10
This the last attempt to get this workflow working. If this still doesn't work, I will just disable it and wait for someone to fix it. Signed-off-by: Daniel Wagner <[email protected]>
1 parent f6b77b5 commit 7b44f32

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/release-python.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
build_sdist:
1313
name: Build source distribution
1414
runs-on: ubuntu-latest
15+
env:
16+
PYTHON_VERSION: "3.10"
1517
container:
1618
image: ghcr.io/linux-nvme/debian.python:latest
1719
steps:
@@ -31,6 +33,8 @@ jobs:
3133
upload_test_pypi:
3234
needs: [build_sdist]
3335
runs-on: ubuntu-latest
36+
env:
37+
PYTHON_VERSION: "3.10"
3438
environment: pypi
3539
permissions:
3640
id-token: write
@@ -41,15 +45,15 @@ jobs:
4145
path: dist
4246

4347
- name: Publish package to TestPyPI
44-
env:
45-
PATH: ${{ github.workspace }}/venv/bin:$PATH
4648
uses: pypa/[email protected]
4749
with:
4850
repository-url: https://test.pypi.org/legacy/
4951

5052
upload_pypi:
5153
needs: [build_sdist]
5254
runs-on: ubuntu-latest
55+
env:
56+
PYTHON_VERSION: "3.10"
5357
environment: pypi
5458
permissions:
5559
id-token: write

0 commit comments

Comments
 (0)