Mention openai realtime bundle and uv in readme #50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| pull_request: | |
| types: [closed] | |
| branches: | |
| - main | |
| jobs: | |
| Release: | |
| name: 🚀 Release | |
| if: github.event.pull_request.merged && startsWith(github.head_ref, 'release-') | |
| runs-on: ubuntu-latest | |
| permissions: write-all | |
| steps: | |
| - uses: actions/github-script@v7 | |
| with: | |
| script: | | |
| // Getting the release version from the PR source branch | |
| // Source branch looks like this: release-1.0.0 | |
| const version = context.payload.pull_request.head.ref.split('-')[1] | |
| core.exportVariable('VERSION', version) | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install uv and set the python version | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Build project | |
| run: uv build | |
| - name: Publish package distributions to PyPI | |
| uses: pypa/gh-action-pypi-publish@release/v1 | |
| - name: Create release on GitHub | |
| uses: ncipollo/release-action@v1 | |
| with: | |
| tag: ${{ env.VERSION }} | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| generateReleaseNotes: true |