File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - " v[0-9]+.[0-9]+.[0-9]+*"
77 workflow_dispatch :
88
9- permissions :
10- contents : write
11- id-token : write
12-
139jobs :
14- build :
10+ publish :
1511 if : startsWith(github.ref, 'refs/tags/')
1612 runs-on : ubuntu-latest
13+ permissions :
14+ contents : write
15+ id-token : write
16+ environment :
17+ name : pypi
18+ url : https://pypi.org/p/intersect-sdk-common
1719 steps :
1820 - uses : actions/checkout@v4
1921 - name : Setup UV
2325 - name : " Build package"
2426 run : uv build
2527 - name : Publish package to PyPI
26- env :
27- UV_PUBLISH_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
28- run : uv publish --username __token__ --publish- url https://upload.pypi.org/legacy/
28+ uses : pypa/gh-action-pypi-publish@release/v1
29+ with :
30+ repository- url: https://upload.pypi.org/legacy/
2931 - name : upload to github release
3032 uses : docker://antonyurchenko/git-release:v5
3133 env :
You can’t perform that action at this time.
0 commit comments