Skip to content

Commit 2064430

Browse files
committed
chore: fix release pipeline
1 parent 92fa1bc commit 2064430

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/pythonpublish.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
name: publish
55

66
on:
7-
create:
7+
push:
88
tags:
99
- "v*"
1010

@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
17-
python-version: ['3.9']
17+
python-version: ['3.11']
1818
os: [ubuntu-20.04, windows-2019, macos-latest]
1919
steps:
2020
- uses: actions/checkout@v3
@@ -46,9 +46,9 @@ jobs:
4646
CIBW_BUILD_VERBOSITY: 5
4747
CIBW_ARCHS: "auto"
4848
- name: Upload Distributions
49-
uses: actions/upload-artifact@v3
49+
uses: actions/upload-artifact@v4
5050
with:
51-
name: dist
51+
name: dist-${{ matrix.os }}
5252
path: |
5353
dist/*.whl
5454
dist/*.tar.gz
@@ -66,10 +66,11 @@ jobs:
6666
uses: actions/setup-python@v4
6767
with:
6868
python-version: ${{ matrix.python-version }}
69-
- uses: actions/download-artifact@v3
69+
- uses: actions/download-artifact@v4.1.7
7070
with:
71-
name: dist
7271
path: dist/
72+
pattern: dist-*
73+
merge-multiple: true
7374
- name: Install dependencies
7475
run: |
7576
python -m pip install -U pip setuptools wheel twine

0 commit comments

Comments
 (0)