diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8f3f458..d3ed2c7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,11 +9,6 @@ on: jobs: publish: runs-on: ubuntu-latest - environment: - name: pypi - url: https://pypi.org/p/open-text-embeddings - permissions: - id-token: write steps: - name: Checkout code uses: actions/checkout@v4 @@ -34,3 +29,5 @@ jobs: - name: Publish distribution to PyPI uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/RELEASE.md b/RELEASE.md index 1774eda..125f1d2 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,3 +1,3 @@ 1.0.2 released. -Fixed "This filename has already been used, use a different version. See https://pypi.org/help/#file-name-reuse for more information." +Unable to publish using trust publisher approach, use api token.