File tree Expand file tree Collapse file tree 2 files changed +32
-2
lines changed
Expand file tree Collapse file tree 2 files changed +32
-2
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+ name : publish last release on test.pypi
7+
8+ on : workflow_dispatch
9+
10+ jobs :
11+ deploy :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v3
15+ - name : Set up Python
16+ uses : actions/setup-python@v3
17+ with :
18+ python-version : ' 3.x'
19+ - name : Install dependencies
20+ run : |
21+ python -m pip install --upgrade pip
22+ pip install build
23+ - name : Build package
24+ run : python -m build
25+ - name : Publish package to TestPyPI
26+ uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
27+ with :
28+ user : __token__
29+ password : ${{ secrets.TEST_PYPI_TOKEN }}
30+ repository_url : https://test.pypi.org/legacy/
Original file line number Diff line number Diff line change 33# separate terms of service, privacy policy, and support
44# documentation.
55
6- name : publish last release
6+ name : publish last release on pypi
77
88on : workflow_dispatch
99
2222 pip install build
2323 - name : Build package
2424 run : python -m build
25- - name : Publish package
25+ - name : Publish package to PyPI
2626 uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
2727 with :
2828 user : __token__
You can’t perform that action at this time.
0 commit comments