Skip to content

Commit a73aea5

Browse files
committed
Only upload build of specified version
1 parent 1c7adad commit a73aea5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
python-version: ["3.11", "3.12", "3.13", "3.14"]
19+
upload-version: ["3.11"]
1920

2021
steps:
2122
- uses: actions/checkout@v6
@@ -40,6 +41,7 @@ jobs:
4041
- name: Build sdist and wheel
4142
run: pipx run build
4243
- name: Upload sdist and wheel as artifacts
44+
if: ${{ matrix.python-version }} == ${{ matrix.upload-version }}
4345
uses: actions/upload-artifact@v7
4446
with:
4547
name: dist

0 commit comments

Comments
 (0)