File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 61
61
test-built-dist :
62
62
needs : build-artifacts
63
63
runs-on : ubuntu-latest
64
+ environment :
65
+ name : release
66
+ url : https://test.pypi.org/p/cmip6-downscaling
67
+ permissions :
68
+ id-token : write
64
69
steps :
65
70
66
71
name : Install Python
@@ -82,15 +87,18 @@ jobs:
82
87
- name : Publish package to TestPyPI
83
88
84
89
with :
85
- password : ${{ secrets.TEST_PYPI_TOKEN }}
86
90
repository-url : https://test.pypi.org/legacy/
87
91
# verbose: true
88
92
89
93
upload-to-pypi :
90
94
needs : test-built-dist
91
95
if : github.event_name == 'release'
92
96
runs-on : ubuntu-latest
93
- environment : release
97
+ environment :
98
+ name : release
99
+ url : https://pypi.org/p/cmip6-downscaling
100
+ permissions :
101
+ id-token : write
94
102
steps :
95
103
- uses : actions/download-artifact@v4
96
104
with :
You can’t perform that action at this time.
0 commit comments