diff --git a/.github/workflows/publish-prerelease.yaml b/.github/workflows/publish-prerelease.yaml index 26d207c..28fd0bd 100644 --- a/.github/workflows/publish-prerelease.yaml +++ b/.github/workflows/publish-prerelease.yaml @@ -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 }} \ No newline at end of file + pypi_api_login: __token__ + pypi_api_password: ${{ secrets.PYPI_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/publish-pypi.yaml b/.github/workflows/publish-pypi.yaml index 24af311..db1c6e4 100644 --- a/.github/workflows/publish-pypi.yaml +++ b/.github/workflows/publish-pypi.yaml @@ -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 diff --git a/.github/workflows/publish-release.yaml b/.github/workflows/publish-release.yaml index 3941305..db565f9 100644 --- a/.github/workflows/publish-release.yaml +++ b/.github/workflows/publish-release.yaml @@ -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 }} \ No newline at end of file + pypi_api_login: __token__ + pypi_api_password: ${{ secrets.PYPI_TOKEN }} \ No newline at end of file