File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 9
9
release :
10
10
name : Release
11
11
runs-on : ubuntu-latest
12
+ permissions :
13
+ id-token : write
14
+ environment :
15
+ name : release
16
+ url : https://pypi.org/p/stac-api-validator
12
17
steps :
13
18
- name : Check out the repository
14
19
uses : actions/checkout@v4
@@ -57,17 +62,12 @@ jobs:
57
62
- name : Publish package on PyPI
58
63
if : steps.check-version.outputs.tag
59
64
60
- with :
61
- user : ${{ secrets.PYPI_STACUTILS_USERNAME }}
62
- password : ${{ secrets.PYPI_STACUTILS_PASSWORD}}
63
65
64
66
- name : Publish package on TestPyPI
65
67
if : " ! steps.check-version.outputs.tag"
66
68
67
69
with :
68
- user : __token__
69
- password : ${{ secrets.TEST_PYPI_TOKEN }}
70
- repository_url : https://test.pypi.org/legacy/
70
+ repository-url : https://test.pypi.org/legacy/
71
71
72
72
- name : Publish the release notes
73
73
uses :
release-drafter/[email protected]
You can’t perform that action at this time.
0 commit comments