Skip to content

Workflow file for this run

name: Upload new release to PyPi
on:
workflow_dispatch:
release:
types: [published]
jobs:
pypi:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python 3.10
uses: actions/setup-python@v4
with:
python-version: ['3.10']

Check failure on line 18 in .github/workflows/pypi.yml

View workflow run for this annotation

GitHub Actions / Upload new release to PyPi

Invalid workflow file

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

Check failure on line 18 in .github/workflows/pypi.yml

View workflow run for this annotation

GitHub Actions / Upload new release to PyPi

Invalid workflow file

The workflow is not valid. .github/workflows/pypi.yml (Line: 18, Col: 27): A sequence was not expected
- name: Install deps
run: python -m pip install -U build twine
- name: Build `dist/`
run: python -m build
- name: Upload to PyPi
env:
TWINE_USERNAME: scrazzz
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: python -m twine upload dist/*