Skip to content

Commit 53038de

Browse files
committed
Use GH Releases upload instead of PyPI upload.
1 parent c933536 commit 53038de

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,15 @@ jobs:
3333
- name: Copy wheels in dist
3434
run: cp wheelhouse*/fastrlock*.whl dist/
3535

36+
- name: Release
37+
uses: softprops/action-gh-release@v1
38+
if: startsWith(github.ref, 'refs/tags/')
39+
with:
40+
files: dist/*manylinux*.whl
41+
3642
- name: Archive Wheels
3743
uses: actions/upload-artifact@v2
3844
with:
3945
name: ${{ matrix.env.TARGET }}
4046
path: dist/*manylinux*.whl
4147
if-no-files-found: ignore
42-
43-
- name: Push build artifacts to PyPI
44-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
45-
uses: pypa/[email protected]
46-
with:
47-
skip_existing: true
48-
user: __token__
49-
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)