We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5c531c commit bcc94dcCopy full SHA for bcc94dc
1 file changed
.github/workflows/release-pypi-upload.yml
@@ -0,0 +1,25 @@
1
+name: Publish Python 🐍 distribution 📦 to PyPI
2
+on:
3
+ release:
4
+ types:
5
+ - published
6
+
7
+jobs:
8
+ publish-to-pypi:
9
+ name: >-
10
+ Publish Python 🐍 distribution 📦 to PyPI
11
12
+ runs-on: ubuntu-latest
13
+ environment:
14
+ name: pypi
15
+ url: https://pypi.ac.cn/p/basicts # Replace <package-name> with your PyPI project name
16
+ permissions:
17
+ id-token: write # IMPORTANT: mandatory for trusted publishing
18
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+ - name: Publish distribution 📦 to PyPI
22
+ uses: pypa/gh-action-pypi-publish@release/v1
23
+ with:
24
+ repository-url: https://test.pypi.org/legacy/
25
+ verbose: true
0 commit comments