File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 98
98
needs :
99
99
- test
100
100
runs-on : ubuntu-latest
101
- environment : PyPI
101
+ environment :
102
+ name : pypi
103
+ url : https://pypi.org/p/visualime
104
+ permissions :
105
+ id-token : write
102
106
steps :
103
107
- name : Download distribution
104
108
uses : actions/download-artifact@v3
@@ -108,16 +112,12 @@ jobs:
108
112
- name : Publish distribution 📦 to Test PyPI
109
113
uses : pypa/gh-action-pypi-publish@release/v1
110
114
with :
111
- user : __token__
112
- password : ${{ secrets.TEST_PYPI_API_TOKEN }}
113
115
repository_url : https://test.pypi.org/legacy/
114
116
packages_dir : .
115
117
verbose : true
116
118
117
119
- name : Publish distribution 📦 to PyPI
118
120
uses : pypa/gh-action-pypi-publish@release/v1
119
121
with :
120
- user : __token__
121
- password : ${{ secrets.PYPI_API_TOKEN }}
122
122
packages_dir : .
123
123
verbose : true
You can’t perform that action at this time.
0 commit comments