File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow uses actions that are not certified by GitHub.
2+ # They are provided by a third-party and are governed by
3+ # separate terms of service, privacy policy, and support
4+ # documentation.
5+
6+ # GitHub recommends pinning actions to a commit SHA.
7+ # To get a newer version, you will need to update the SHA.
8+ # You can also reference a tag or branch, but the action may change without warning.
9+
10+ # https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
11+
12+ name : Upload Python Package
13+
14+ on :
15+ release :
16+ types : [published]
17+
18+ jobs :
19+ deploy :
20+ runs-on : ubuntu-latest
21+ steps :
22+ - uses : actions/checkout@v3
23+ - name : Set up Python
24+ uses : actions/setup-python@v4
25+ with :
26+ python-version : ' 3.x'
27+ - name : Install dependencies
28+ run : |
29+ python -m pip install --upgrade pip
30+ pip install build
31+ - name : Build package
32+ run : python -m build
33+ - name : Publish package
34+ uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
35+ with :
36+ user : __token__
37+ password : ${{ secrets.PYPI_PASSWORD }}
You can’t perform that action at this time.
0 commit comments