Skip to content

First release v0.1.0 #1

First release v0.1.0

First release v0.1.0 #1

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / python-audio

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yml (Line: 17, Col: 27): A sequence was not expected

Check failure on line 17 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / python-audio

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yml (Line: 17, Col: 27): A sequence was not expected
- 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 }}