Workflow file for this run
This file contains 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: 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 GitHub Actions / Upload new release to PyPiInvalid workflow file
|
||
- 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/* |