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 a7f0a7c commit e2bdfe4Copy full SHA for e2bdfe4
.github/workflows/manual_publish.yml
@@ -0,0 +1,32 @@
1
+name: Manual Upload to PyPI
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
+ upload:
8
+ runs-on: ubuntu-latest
9
10
+ steps:
11
+ - name: Check out repository
12
+ uses: actions/checkout@v3
13
14
+ - name: Set up Python
15
+ uses: actions/setup-python@v4
16
+ with:
17
+ python-version: '3.11'
18
19
+ - name: Install build tools
20
+ run: |
21
+ python -m pip install --upgrade pip build twine
22
23
+ - name: Build the package
24
25
+ python -m build
26
27
+ - name: Upload to PyPI (manual bootstrap)
28
+ env:
29
+ TWINE_USERNAME: __token__
30
+ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
31
32
+ twine upload dist/*
0 commit comments