Skip to content

Commit dd11bd9

Browse files
authored
Updated private PyPi location
1 parent ab30b5e commit dd11bd9

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/python-publish.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,11 @@ jobs:
4545
- name: 'Upload to PyPi'
4646
#if: contains(github.ref, 'refs/tags')
4747
run: |
48-
pip install --upgrade pip flit
49-
pip install -r requirements/requirements_build.txt
50-
flit build
5148
pip install twine
5249
#python setup.py sdist
5350
twine check dist/*
5451
twine upload --skip-existing dist/*
5552
env:
56-
TWINE_USERNAME: __token__
57-
#TWINE_PASSWORD: ${{secrets.PYPI_TOKEN}}
58-
TWINE_PASSWORD: ${{secrets.MEDSON_PYPI}}
59-
TWINE_REPOSITORY_URL: "https://upload.pypi.org/legacy/"
53+
TWINE_USERNAME: PAT
54+
TWINE_PASSWORD: ${{ secrets.PYANSYS_PYPI_PRIVATE_PAT }}
55+
TWINE_REPOSITORY_URL: https://pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/upload

0 commit comments

Comments
 (0)