chore: bump version to 0.8.3 #27
Workflow file for this run
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: Publish to PyPI | |
| on: | |
| push: | |
| tags: ["v*"] | |
| jobs: | |
| test: | |
| # Gate: never publish a build whose tests fail (0.4.1 shipped on red CI). | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - name: Install system dependencies | |
| run: sudo apt-get update && sudo apt-get install -y libportaudio2 portaudio19-dev | |
| - name: Install package | |
| run: pip install -e ".[linux,dev]" | |
| - name: Run tests | |
| run: pytest tests/ -x -q | |
| publish: | |
| needs: test | |
| runs-on: ubuntu-latest | |
| environment: release | |
| permissions: | |
| id-token: write | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - name: Install build tools | |
| run: pip install build | |
| - name: Build package | |
| run: python -m build | |
| - name: Publish to PyPI | |
| uses: pypa/gh-action-pypi-publish@release/v1 | |
| - name: Create GitHub Release | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| run: | | |
| VERSION="${{ github.ref_name }}" | |
| VERSION_NUM="${VERSION#v}" | |
| gh release create "$VERSION" dist/* --notes "$(cat <<NOTES | |
| ## Install | |
| ### Windows | |
| Download **[VoiceIO-${VERSION_NUM}-windows-setup.exe](https://github.com/Hugo0/voiceio/releases/download/${VERSION}/VoiceIO-${VERSION_NUM}-windows-setup.exe)** and run the installer. | |
| > *Advanced users: [voiceio-windows-x64.zip](https://github.com/Hugo0/voiceio/releases/download/${VERSION}/voiceio-windows-x64.zip) is a portable build — extract and run \`voiceio.exe\` directly, no installation needed.* | |
| ### Linux / macOS | |
| \`\`\`bash | |
| pipx install python-voiceio | |
| voiceio setup | |
| \`\`\` | |
| --- | |
| **Full Changelog**: https://github.com/Hugo0/voiceio/compare/v${VERSION_NUM}...${VERSION} | |
| NOTES | |
| )" |