Skip to content

Commit c608c17

Browse files
committed
Fix GitHub workflows
1 parent d3ead36 commit c608c17

File tree

4 files changed

+11
-12
lines changed

4 files changed

+11
-12
lines changed

.github/workflows/document.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up Python
2424
uses: actions/setup-python@v6
2525
with:
26-
python-version: '3.12'
26+
python-version: '3.11'
2727

2828
- name: Install dependencies
2929
run: |

.github/workflows/release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ jobs:
1818
- macos-15-intel
1919
python-version:
2020
- '3.11'
21-
- '3.12'
22-
- '3.13'
2321

2422
runs-on: ${{ matrix.os }}
2523

@@ -46,8 +44,9 @@ jobs:
4644
- name: Store distribution
4745
uses: actions/upload-artifact@v6
4846
with:
49-
name: python-package-distributions
47+
name: python-${{ matrix.python-version }}-package-for-${{ matrix.os }}
5048
path: dist/
49+
retention-days: 1
5150

5251
pypi:
5352
name: Publish distribution
@@ -68,8 +67,9 @@ jobs:
6867
- name: Download distribution
6968
uses: actions/download-artifact@v7
7069
with:
71-
name: python-package-distributions
70+
pattern: python-*-package-for-*
7271
path: dist/
72+
merge-multiple: true
7373

7474
- name: Publish distribution to PyPI
7575
uses: pypa/gh-action-pypi-publish@release/v1
@@ -88,8 +88,9 @@ jobs:
8888
- name: Download distribution
8989
uses: actions/download-artifact@v7
9090
with:
91-
name: python-package-distributions
91+
pattern: python-*-package-for-*
9292
path: dist/
93+
merge-multiple: true
9394

9495
- name: Sign distribution with Sigstore
9596
uses: sigstore/[email protected]

.github/workflows/test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ jobs:
2323
- macos-15-intel
2424
python-version:
2525
- '3.11'
26-
- '3.12'
27-
- '3.13'
2826

2927
runs-on: ${{ matrix.os }}
3028

.github/workflows/testpypi.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ jobs:
1818
- macos-15-intel
1919
python-version:
2020
- '3.11'
21-
- '3.12'
22-
- '3.13'
2321

2422
runs-on: ${{ matrix.os }}
2523

@@ -46,8 +44,9 @@ jobs:
4644
- name: Store distribution
4745
uses: actions/upload-artifact@v6
4846
with:
49-
name: python-package-distributions
47+
name: python-${{ matrix.python-version }}-package-for-${{ matrix.os }}
5048
path: dist/
49+
retention-days: 1
5150

5251
testpypi:
5352
name: Publish test distribution
@@ -68,8 +67,9 @@ jobs:
6867
- name: Download distribution
6968
uses: actions/download-artifact@v7
7069
with:
71-
name: python-package-distributions
70+
pattern: python-*-package-for-*
7271
path: dist/
72+
merge-multiple: true
7373

7474
- name: Publish distribution to TestPyPI
7575
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)