Skip to content

Commit bcc94dc

Browse files
committed
u
1 parent c5c531c commit bcc94dc

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)