File tree Expand file tree Collapse file tree 3 files changed +15
-11
lines changed Expand file tree Collapse file tree 3 files changed +15
-11
lines changed Original file line number Diff line number Diff line change 41
41
default : ' main'
42
42
type : string
43
43
secrets :
44
- SSH_USER :
45
- description : User to SFTP as
46
- SSH_KEY :
47
- description : Private key
48
- SSH_PASSPHRASE :
49
- description : Decryption passphrase for private key
50
44
META_REPO_ACCESS_TOKEN :
51
45
description : Token to use to trigger bump workflow on robotpy-meta
52
46
RTD_TOKEN :
57
51
description : Username to upload to artifactory
58
52
WPI_ARTIFACTORY_TOKEN :
59
53
description : Token to use to upload to artifactory
54
+ PYPI_API_TOKEN :
55
+ description : Token to publish the package to PyPI
60
56
61
57
concurrency :
62
58
group : ${{ github.ref }}
@@ -282,8 +278,6 @@ jobs:
282
278
publish-pypi :
283
279
runs-on : ubuntu-latest
284
280
needs : [check, build, cross-build]
285
- permissions :
286
- id-token : write
287
281
if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
288
282
289
283
steps :
@@ -335,7 +329,9 @@ jobs:
335
329
- name : Publish to PyPI
336
330
uses : pypa/gh-action-pypi-publish@release/v1
337
331
with :
338
- verify-metadata : false
332
+ user : __token__
333
+ password : ${{ secrets.PYPI_API_TOKEN }}
334
+ verify_metadata : false
339
335
340
336
ping-rtd :
341
337
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 6
6
secrets :
7
7
META_REPO_ACCESS_TOKEN :
8
8
description : Token to use to trigger bump workflow on robotpy-meta
9
+ PYPI_API_TOKEN :
10
+ description : Token to publish the package to PyPI
9
11
10
12
11
13
jobs :
86
88
- name : Publish to PyPI
87
89
uses : pypa/gh-action-pypi-publish@release/v1
88
90
with :
89
- verify-metadata : false
91
+ user : __token__
92
+ password : ${{ secrets.PYPI_API_TOKEN }}
93
+ verify_metadata : false
90
94
91
95
# - uses: robotpy/build-actions/ping-meta@v2024
92
96
# with:
Original file line number Diff line number Diff line change 12
12
secrets :
13
13
META_REPO_ACCESS_TOKEN :
14
14
description : Token to use to trigger bump workflow on robotpy-meta
15
+ PYPI_API_TOKEN :
16
+ description : Token to publish the package to PyPI
15
17
16
18
17
19
jobs :
95
97
- name : Publish to PyPI
96
98
uses : pypa/gh-action-pypi-publish@release/v1
97
99
with :
98
- verify-metadata : false
100
+ user : __token__
101
+ password : ${{ secrets.PYPI_API_TOKEN }}
102
+ verify_metadata : false
99
103
100
104
# - uses: robotpy/build-actions/ping-meta@v2024
101
105
# with:
You can’t perform that action at this time.
0 commit comments