Skip to content

Commit

Permalink
use username and password
Browse files Browse the repository at this point in the history
  • Loading branch information
dolfim-ibm committed Apr 26, 2022
1 parent beb45fd commit 1cbbcdd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
cache-dependency-path: 'poetry.lock'
- name: Install dependencies
run: poetry install
- name: Config PyPI token
# According to this issue, the ENV variable is ignored https://github.com/python-poetry/poetry/issues/2210.
run: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
# - name: Config PyPI token
# # According to this issue, the ENV variable is ignored https://github.com/python-poetry/poetry/issues/2210.
# run: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
- name: Build and publish
run: poetry publish --build --no-interaction
run: poetry publish --build --no-interaction --username=__token__ --password=${{ secrets.PYPI_TOKEN }}

0 comments on commit 1cbbcdd

Please sign in to comment.