We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0082d4 commit 30dff73Copy full SHA for 30dff73
.github/workflows/build.yml .github/workflows/build_publish.yml.github/workflows/build.yml renamed to .github/workflows/build_publish.yml
@@ -38,3 +38,28 @@ jobs:
38
with:
39
name: wheels
40
path: ./wheels/*.whl
41
+
42
+ publish:
43
+ needs: build
44
+ name: Publish to PyPI
45
+ runs-on: ubuntu-latest
46
47
+ steps:
48
+ - name: Set up Python
49
+ uses: actions/setup-python@v2
50
+ with:
51
+ python-version: '3.x'
52
+ - name: Install twine
53
+ run: |
54
+ python -m pip install --upgrade pip
55
+ pip install twine
56
+ - name: Download Artifacts
57
+ uses: actions/download-artifact@v2
58
59
+ name: wheels
60
+ path: ./wheels
61
+ - name: Publish
62
+ env:
63
+ TWINE_USERNAME: ${{ secrets.TPYPI_USERNAME }}
64
+ TWINE_PASSWORD: ${{ secrets.TPYPI_PASSWORD }}
65
+ run: twine upload --repository testpypi ./wheels/*
0 commit comments