Skip to content

Commit 10b5862

Browse files
committed
Correct PyPi upload
Only API tokens are now supported.
1 parent d5e63c2 commit 10b5862

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release_on_pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ jobs:
88
runs-on: ubuntu-latest
99
env:
1010
GITHUB_TOKEN: '${{ secrets.GAUGEBOT_GITHUB_TOKEN }}'
11-
PYPI_USER: '${{ secrets.PYPI_USER }}'
12-
PYPI_PASSWORD: '${{ secrets.PYPI_PASSWORD }}'
1311
CI: true
1412

1513
steps:
@@ -66,8 +64,10 @@ jobs:
6664
token: '${{ secrets.GITHUB_TOKEN }}'
6765

6866
- name: Upload PyPi package
67+
env:
68+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
6969
run: |
70-
python -m twine upload -u ${PYPI_USER} -p ${PYPI_PASSWORD} dist/getgauge*
70+
python -m twine upload --non-interactive dist/getgauge*
7171
7272
7373
- name: Update metadata in gauge-repository

0 commit comments

Comments
 (0)