File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 77permissions :
88 contents : read
99
10- env :
11- # disable keyring (https://github.com/actions/runner-images/issues/6185):
12- PYTHON_KEYRING_BACKEND : keyring.backends.null.Keyring
13-
1410jobs :
1511 build-and-publish :
1612 uses : ./.github/workflows/wheels.yml
Original file line number Diff line number Diff line change 6060 run : |
6161 poetry run python --version
6262
63+ - name : Setup pypi for poetry
64+ run : |
65+ poetry config keyring.enabled false
66+ poetry config pypi-token.pypi ${{ secrets.PIPY_TOKEN }}
67+
6368 - name : Convert python version to cpXYZ
6469 run : |
6570 version=${{ matrix.python-version }}
@@ -140,14 +145,14 @@ jobs:
140145 run : |
141146 ls -l ./
142147 ls -l ./dist
143- poetry publish --dry-run --no-interaction -vvv --username=__token__ --password=${{ secrets.PYPI_TOKEN }}
148+ poetry publish --dry-run --no-interaction -vvv
144149
145150 - name : publish wheels (on publishing) [macos]
146151 if : ${{ matrix.os.platform == 'macos' && startsWith(github.ref, 'refs/tags/') }}
147152 run : |
148153 ls -l ./
149154 ls -l ./dist
150- poetry publish --no-interaction -vvv --username=__token__ --password=${{ secrets.PYPI_TOKEN }}
155+ poetry publish --no-interaction -vvv
151156
152157 - name : Build wheels [linux]
153158 if : matrix.os.name == 'ubuntu-latest'
@@ -175,12 +180,12 @@ jobs:
175180 run : |
176181 ls -l ./
177182 ls -l ./dist
178- poetry publish --dry-run --no-interaction -vvv --username=__token__ --password=${{ secrets.PYPI_TOKEN }}
183+ poetry publish --dry-run --no-interaction -vvv
179184
180185 - name : publish wheels (on publishing) [linux]
181186 if : ${{ matrix.os.platform == 'linux' && startsWith(github.ref, 'refs/tags/') }}
182187 run : |
183188 ls -l ./
184189 ls -l ./dist
185- poetry publish --no-interaction -vvv --username=__token__ --password=${{ secrets.PYPI_TOKEN }}
190+ poetry publish --no-interaction -vvv
186191
You can’t perform that action at this time.
0 commit comments