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 24d43fd commit a309163Copy full SHA for a309163
.github/workflows/register-pypi.yml
@@ -0,0 +1,31 @@
1
+name: Register to PyPI
2
+
3
+on: workflow_dispatch
4
5
+jobs:
6
+ register:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@master
10
+ - name: Set up Python
11
+ uses: actions/setup-python@v3
12
+ with:
13
+ python-version: "3.10"
14
+ - name: Install build
15
+ run: >-
16
+ python -m
17
+ pip install
18
+ build
19
+ --user
20
+ - name: Build distribution
21
22
23
24
+ --sdist
25
+ --wheel
26
+ --outdir dist/
27
+ .
28
+ - name: Publish to PyPI
29
+ uses: pypa/gh-action-pypi-publish@release/v1
30
31
+ password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments