We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b35a744 commit 286334fCopy full SHA for 286334f
.github/workflows/python-publish.yml
@@ -11,6 +11,7 @@ name: Publish Python 🐍 distributions 📦 to PyPI
11
on:
12
release:
13
types: [published]
14
+ pull_requests:
15
16
permissions:
17
contents: read
@@ -33,8 +34,10 @@ jobs:
33
34
- name: Build package
35
run: |
36
python -m build --sdist --wheel --outdir dist/ .
37
+
38
- name: Publish package
39
uses: pypa/[email protected]
40
with:
41
user: __token__
- password: ${{ secrets.PYPI_API_TOKEN }}
42
+ password: ${{ secrets.TEST_PYPI_API_TOKEN }}
43
+ repository-url: https://test.pypi.org/legacy/
0 commit comments