Skip to content

Commit

Permalink
chore: fixed publish workflow and updated release note
Browse files Browse the repository at this point in the history
  • Loading branch information
limcheekin committed Sep 27, 2023
1 parent 491de2b commit b97d70f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -34,3 +29,5 @@ jobs:
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit b97d70f

Please sign in to comment.