File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change 85
85
needs :
86
86
- build
87
87
runs-on : ubuntu-latest
88
- environment :
89
- name : pypi
90
- url : https://pypi.org/p/nyancad
91
- permissions :
92
- id-token : write # IMPORTANT: mandatory for trusted publishing
93
88
steps :
94
89
- name : Download nyancad distributions
95
90
uses : actions/download-artifact@v4
@@ -98,18 +93,15 @@ jobs:
98
93
path : dist/
99
94
- name : Publish nyancad distribution 📦 to PyPI
100
95
uses : pypa/gh-action-pypi-publish@release/v1
96
+ with :
97
+ password : ${{ secrets.PYPI_API_TOKEN }}
101
98
102
99
publish-nyancad-server-to-pypi :
103
100
name : Publish nyancad-server 🐍 distribution 📦 to PyPI
104
101
if : startsWith(github.ref, 'refs/tags/')
105
102
needs :
106
103
- build
107
104
runs-on : ubuntu-latest
108
- environment :
109
- name : pypi-server
110
- url : https://pypi.org/p/nyancad-server
111
- permissions :
112
- id-token : write # IMPORTANT: mandatory for trusted publishing
113
105
steps :
114
106
- name : Download nyancad-server distributions
115
107
uses : actions/download-artifact@v4
@@ -118,3 +110,5 @@ jobs:
118
110
path : dist/
119
111
- name : Publish nyancad-server distribution 📦 to PyPI
120
112
uses : pypa/gh-action-pypi-publish@release/v1
113
+ with :
114
+ password : ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments