Skip to content

Add amplification and soundfile optional (#125) #75

Add amplification and soundfile optional (#125)

Add amplification and soundfile optional (#125) #75

name: publish-to-pypi
on:
push:
branches:
- main
paths:
- pyproject.toml
workflow_dispatch:
jobs:
# Auto-publish when version is increased
publish-pypi:
# Only publish on `main` branch
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
permissions: # Don't forget permissions
contents: write
steps:
- uses: etils-actions/pypi-auto-publish@v1
with:
pypi-token: ${{ secrets.PYPI_API_TOKEN }}
gh-token: ${{ secrets.GITHUB_TOKEN }}
parse-changelog: false