Skip to content

Commit b97d70f

Browse files
committed
chore: fixed publish workflow and updated release note
1 parent 491de2b commit b97d70f

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ on:
99
jobs:
1010
publish:
1111
runs-on: ubuntu-latest
12-
environment:
13-
name: pypi
14-
url: https://pypi.org/p/open-text-embeddings
15-
permissions:
16-
id-token: write
1712
steps:
1813
- name: Checkout code
1914
uses: actions/checkout@v4
@@ -34,3 +29,5 @@ jobs:
3429
3530
- name: Publish distribution to PyPI
3631
uses: pypa/gh-action-pypi-publish@release/v1
32+
with:
33+
password: ${{ secrets.PYPI_API_TOKEN }}

RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
1.0.2 released.
22

3-
Fixed "This filename has already been used, use a different version. See https://pypi.org/help/#file-name-reuse for more information."
3+
Unable to publish using trust publisher approach, use api token.

0 commit comments

Comments
 (0)