Skip to content

Commit e2bdfe4

Browse files
trying manual upload
1 parent a7f0a7c commit e2bdfe4

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
run: |
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+
run: |
32+
twine upload dist/*

0 commit comments

Comments
 (0)