Skip to content

👷 Updat Pypa version to v1/release #4

👷 Updat Pypa version to v1/release

👷 Updat Pypa version to v1/release #4

Workflow file for this run

name: Publish to Pypi
on:
push:
# tags:
# - "v[0-9]+.[0-9]+.[0-9]+" # regex to match semantic versioning tags
jobs:
main_ci:
uses: ./.github/workflows/main.yml
publish:
name: publish
needs: [main_ci] # require main to pass before publish runs
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Build package
run: |
python -m pip install -U pip build
python -m build
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}