Skip to content

test workflow

test workflow #1

Workflow file for this run

name: Publish to PyPI via Trusted Publisher
on:
push:
tags:
- "*"
jobs:
publish:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install dependencies
run: |
pip install build
- name: Build the package
run: |
python setup.py sdist bdist_wheel
- name: Pypi Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}