Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,12 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Release new versions
# OIDC trusted publishing (`id-token: write` above), as in e2b-dev/E2B,
# instead of a long-lived PyPI token that expires and 403s the release.
run: |
uv build
uv publish --check-url https://pypi.org/simple/
uv publish --trusted-publishing always --check-url https://pypi.org/simple/
working-directory: ./chart_data_extractor
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
UV_PUBLISH_TOKEN: ${{ secrets.CHARTS_PYPI_TOKEN }}

- name: Output new version
id: output_version
Expand Down Expand Up @@ -350,7 +349,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: "" # See https://github.com/changesets/changesets/issues/1152#issuecomment-3190884868
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

- name: Push new versions
# Gate on the tags rather than on whether the publish step succeeded: they
Expand Down
Loading