First release v0.1.0 #1
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: python-audio | ||
on: | ||
release: | ||
types: [created] | ||
jobs: | ||
build-n-publish: | ||
name: python-audio | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: [3.11, 3.12] | ||
Check failure on line 17 in .github/workflows/publish.yml
|
||
- name: Install pip | ||
run: python -m pip install --upgrade pip | ||
- name: Install black | ||
run: pip install black | ||
- name: Run black | ||
run: black . | ||
- name: Install build | ||
run: python -m pip install build | ||
- name: Build a binary wheel and a source tarball | ||
run: python -m build --sdist --wheel --outdir dist/ | ||
- name: Publish distribution 📦 to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_API_TOKEN }} |