Skip to content

Add pipy publishing workflow. #1

Add pipy publishing workflow.

Add pipy publishing workflow. #1

Workflow file for this run

name: PyPI
on:
push:
tags:
- '*'
jobs:
build-n-publish:
name: Build and publish Python distribution to PyPI
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Build a binary wheel and a source tarball
run: |
python -mpip install build
python -m build
- name: Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/[email protected]
with:
password: {{ '${{ secrets.PYPI_PASSWORD }}' }}

Check failure on line 24 in .github/workflows/publish_pipy.yml

View workflow run for this annotation

GitHub Actions / PyPI

Invalid workflow file

The workflow is not valid. .github/workflows/publish_pipy.yml (Line: 24, Col: 21): A mapping was not expected