Skip to content

Commit ac62d39

Browse files
update workflow before publishing python package (#79)
1 parent d3624b8 commit ac62d39

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/publish-python-client.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
name: pypi
123123
url: https://pypi.org/p/osparc_client
124124
permissions:
125-
id-token: write # IMPORTANT: mandatory for trusted publishing
125+
id-token: write
126126
steps:
127127
- name: Download wheels
128128
uses: actions/download-artifact@v3
@@ -134,14 +134,12 @@ jobs:
134134
- name: Publish osparc_client to Test PyPI
135135
uses: pypa/gh-action-pypi-publish@release/v1
136136
with:
137-
password: ${{ secrets.TEST_PYPI_TOKEN }}
138137
repository-url: https://test.pypi.org/legacy/
139138
verbose: true
140139
packages-dir: dist/
141140
- name: Publish osparc_client to PyPI
142141
uses: pypa/gh-action-pypi-publish@release/v1
143142
with:
144-
password: ${{ secrets.PYPI_TOKEN }}
145143
verbose: true
146144
packages-dir: dist/
147145

@@ -154,7 +152,7 @@ jobs:
154152
name: pypi
155153
url: https://pypi.org/p/osparc
156154
permissions:
157-
id-token: write # IMPORTANT: mandatory for trusted publishing
155+
id-token: write
158156
steps:
159157
- name: Download wheels
160158
uses: actions/download-artifact@v3
@@ -166,13 +164,11 @@ jobs:
166164
- name: Publish osparc to Test PyPI
167165
uses: pypa/gh-action-pypi-publish@release/v1
168166
with:
169-
password: ${{ secrets.TEST_PYPI_TOKEN }}
170167
repository-url: https://test.pypi.org/legacy/
171168
verbose: true
172169
packages-dir: dist/
173170
- name: Publish osparc to PyPI
174171
uses: pypa/gh-action-pypi-publish@release/v1
175172
with:
176-
password: ${{ secrets.PYPI_TOKEN }}
177173
verbose: true
178174
packages-dir: dist/

0 commit comments

Comments
 (0)