Skip to content

Commit 368bdc9

Browse files
committed
use github actions to release on pypi
1 parent df3046f commit 368bdc9

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/publish-to-test-pypi.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ name: Publish tagged releases to PyPI and TestPyPI
33
on: push
44

55
jobs:
6-
deploy:
6+
build-n-publish:
7+
name: Build and publish Python distributions to PyPI and TestPyPI
78
runs-on: ubuntu-latest
89
steps:
9-
- uses: actions/checkout@v1
10-
- name: Set up Python
11-
uses: actions/setup-python@v1
12-
with:
13-
python-version: "3.9"
10+
- uses: actions/checkout@v1
11+
- name: Set up Python
12+
uses: actions/setup-python@v1
13+
with:
14+
python-version: "3.9"
1415

1516
- name: Install pypa/build
1617
run: >-
@@ -36,4 +37,4 @@ jobs:
3637
if: startsWith(github.ref, 'refs/tags')
3738
uses: pypa/gh-action-pypi-publish@release/v1
3839
with:
39-
password: ${{ secrets.PYPI_API_TOKEN }}
40+
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)