Skip to content

Commit 665819b

Browse files
author
rixwew
committed
#7 make upload to pypi repository
1 parent ddf7d63 commit 665819b

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.github/workflows/build_linux.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
path: dist
3030
- name: Publish to PyPI
3131
env:
32-
PYPI_USERNAME: ${{ secrets.TEST_PYPI_USER }}
33-
PYPI_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
32+
PYPI_USERNAME: ${{ secrets.PYPI_USER }}
33+
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
3434
run: |
3535
pip install twine
36-
python -m twine upload -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} --repository-url https://test.pypi.org/legacy/ dist/*
36+
python -m twine upload -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} --repository-url https://upload.pypi.org/legacy/ dist/*

.github/workflows/build_mac.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ jobs:
3636
path: dist
3737
- name: Publish to PyPI
3838
env:
39-
PYPI_USERNAME: ${{ secrets.TEST_PYPI_USER }}
40-
PYPI_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
39+
PYPI_USERNAME: ${{ secrets.PYPI_USER }}
40+
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
4141
run: |
4242
pip install twine
43-
python -m twine upload -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} --repository-url https://test.pypi.org/legacy/ dist/*
43+
python -m twine upload -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} --repository-url https://upload.pypi.org/legacy/ dist/*
4444
shell: bash

.github/workflows/build_win.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ jobs:
3636
path: dist
3737
- name: Publish to PyPI
3838
env:
39-
PYPI_USERNAME: ${{ secrets.TEST_PYPI_USER }}
40-
PYPI_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
39+
PYPI_USERNAME: ${{ secrets.PYPI_USER }}
40+
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
4141
run: |
4242
pip install twine
43-
python -m twine upload -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} --repository-url https://test.pypi.org/legacy/ dist/*
43+
python -m twine upload -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} --repository-url https://upload.pypi.org/legacy/ dist/*
4444
shell: bash

.github/workflows/make_sdist.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
path: dist
2828
- name: Publish to PyPI
2929
env:
30-
PYPI_USERNAME: ${{ secrets.TEST_PYPI_USER }}
31-
PYPI_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
30+
PYPI_USERNAME: ${{ secrets.PYPI_USER }}
31+
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
3232
run: |
3333
pip install twine
34-
python -m twine upload -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} --repository-url https://test.pypi.org/legacy/ dist/*
34+
python -m twine upload -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} --repository-url https://upload.pypi.org/legacy/ dist/*

0 commit comments

Comments
 (0)