Skip to content

Commit

Permalink
Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-kh committed May 19, 2023
1 parent 2d4225b commit 90e4073
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:

- name: Build and publish
env:
_USERNAME: __token__
_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }}
run: |
poetry install
poetry build
poetry publish --repository testpypi -u $_USERNAME -p $_PASSWORD
poetry config pypi-token.pypi $_PASSWORD
poetry publish --repository testpypi
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ jobs:

- name: Build and publish
env:
_USERNAME: __token__
_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }}
run: |
poetry install
poetry build
poetry publish -u $_USERNAME -p $_PASSWORD
poetry config pypi-token.pypi $_PASSWORD
poetry publish

0 comments on commit 90e4073

Please sign in to comment.