File tree Expand file tree Collapse file tree 2 files changed +8
-19
lines changed Expand file tree Collapse file tree 2 files changed +8
-19
lines changed Original file line number Diff line number Diff line change 1
1
name : " Release PyPI"
2
2
description : " Release PyPI"
3
- inputs :
4
- pypi-token :
5
- required : true
6
- description : " PyPI token"
7
3
runs :
8
4
using : " composite"
9
5
steps :
10
6
- name : Release PyPI
11
7
shell : bash
12
8
run : |
13
- export UV_PUBLISH_PASSWORD="${{ inputs.pypi-token }}"
14
- export UV_PUBLISH_USERNAME="__token__"
15
- uv publish --publish-url https://upload.pypi.org/legacy/
9
+ uv publish --publish-url https://upload.pypi.org/legacy/ --trusted-publishing always
Original file line number Diff line number Diff line change @@ -32,15 +32,12 @@ jobs:
32
32
fail-fast : false
33
33
matrix :
34
34
os : [
35
- ubuntu-latest,
36
- ubuntu-22.04-arm, # https://github.com/actions/partner-runner-images/issues/37 https://github.com/orgs/community/discussions/148648#discussioncomment-12099554
37
- macos-latest,
38
- macos-14-large
39
- ]
40
- python : [
41
- 12,
42
- 13,
43
- ]
35
+ ubuntu-latest,
36
+ ubuntu-22.04-arm, # https://github.com/actions/partner-runner-images/issues/37 https://github.com/orgs/community/discussions/148648#discussioncomment-12099554
37
+ macos-latest,
38
+ macos-14-large,
39
+ ]
40
+ python : [12, 13]
44
41
45
42
steps :
46
43
- name : Github context
61
58
enable-cache : false
62
59
prune-cache : false
63
60
python-version : 3.${{ matrix.python }}
64
- version : ' 0.5.24'
61
+ version : " 0.5.24"
65
62
cache-suffix : 3.${{ matrix.python }}
66
63
67
64
- name : Fetch tags
@@ -103,8 +100,6 @@ jobs:
103
100
104
101
- name : Release PyPI
105
102
uses : ./.github/actions/release-pypi
106
- with :
107
- pypi-token : ${{ secrets.PYPI_TOKEN }}
108
103
109
104
- name : Github release
110
105
id : github-release
You can’t perform that action at this time.
0 commit comments