Skip to content

chore: remove tokenizer warnings (#2108) #9

chore: remove tokenizer warnings (#2108)

chore: remove tokenizer warnings (#2108) #9

Workflow file for this run

on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
name: release-please
jobs:
create-release:
name: Create release
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release-please.outputs.release_created }}
steps:
- uses: google-github-actions/release-please-action@v4
id: release-please
with:
release-type: python
publish-to-pypi:
name: Publish to PyPI
runs-on: ubuntu-latest
needs: create-release
if: ${{ needs.create-release.outputs.release_created }}
environment:
name: pypi
url: https://pypi.org/p/arize-phoenix
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Build frontend
run: cd app && rm -rf node_modules && npm install && npm run build
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install Python utilities
run: python -m pip install hatch check_wheel_contents twine
- name: Build distribution
run: rm -rf dist && hatch build
- name: Check wheel contents
run: check-wheel-contents dist/*.whl
- uses: pypa/gh-action-pypi-publish@release/v1