File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,16 +3,15 @@ name: Publish PyPi
33on :
44 push :
55 tags :
6- - ' v*.*.*' # 仅匹配类似 v1.0.0 的标签
6+ - ' v*.*.*'
77
88permissions :
9- id-token : write # 允许请求 OIDC JWT
10- contents : read # 允许 actions/checkout 使用
9+ id-token : write
10+ contents : read
1111
1212jobs :
1313 release-build :
1414 runs-on : ubuntu-latest
15-
1615 steps :
1716 - uses : actions/checkout@v4
1817
3736 pypi-publish :
3837 runs-on : ubuntu-latest
3938 needs : release-build
39+ permissions :
40+ id-token : write
4041 steps :
4142 - name : Retrieve release distributions
4243 uses : actions/download-artifact@v4
4748 - name : Publish release distributions to PyPI
4849 uses : pypa/gh-action-pypi-publish@v1.8.14
4950 with :
50- password : ${{ secrets.PYPI_TOKEN }}
51+ attestations : true
Original file line number Diff line number Diff line change 1- """FastAPI Amis - A FastAPI integration with Baidu Amis."""
21
3- __version__ = "0.0.1"
4- __author__ = "kylin"
5- __email__ = "260987762@qq.com"
6-
7- __all__ = ["__version__" , "__author__" , "__email__" ]
You can’t perform that action at this time.
0 commit comments