Skip to content

Commit

Permalink
update pip release with token (#218)
Browse files Browse the repository at this point in the history
* update pip release with token
---------

Signed-off-by: Gabriele Santomaggio <[email protected]>
  • Loading branch information
Gsantomaggio authored Dec 4, 2024
1 parent 0a45787 commit 8fa90f7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-prerelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ jobs:
with:
pypi_repository_url: https://test.pypi.org/legacy/
secrets:
pypi_api_login: ${{ secrets.PYPI_LOGIN }}
pypi_api_password: ${{ secrets.PYPI_PASSWORD }}
pypi_api_login: __token__
pypi_api_password: ${{ secrets.PYPI_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/publish-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: build with poetry
env:
REPO: ${{ inputs.pypi_repository_url }}
run: |
run: |
curl -sSL https://install.python-poetry.org | python3 -
export PATH="/home/runner/.local/bin:$PATH"
poetry config repositories.test-pypi $REPO
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ jobs:
with:
pypi_repository_url: https://upload.pypi.org/legacy/
secrets:
pypi_api_login: ${{ secrets.PYPI_LOGIN }}
pypi_api_password: ${{ secrets.PYPI_PASSWORD }}
pypi_api_login: __token__
pypi_api_password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit 8fa90f7

Please sign in to comment.