Skip to content

Commit 80ffe0c

Browse files
committed
31 | Update test workflow
1 parent d7338af commit 80ffe0c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/test-publish-to-pypi.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: Publish to PyPI
22

33
on:
4-
release:
5-
types: [published]
4+
push:
5+
branches:
6+
- main
67

78
jobs:
89
build:
@@ -29,7 +30,7 @@ jobs:
2930
run: cibuildwheel --output-dir wheelhouse
3031

3132
- name: Upload wheels
32-
uses: actions/upload-artifact@v3
33+
uses: actions/upload-artifact@v3.1.2
3334
with:
3435
name: wheels-${{ matrix.os }}
3536
path: wheelhouse/

0 commit comments

Comments
 (0)