Skip to content

ci(gha): set up CI (#4) #1

ci(gha): set up CI (#4)

ci(gha): set up CI (#4) #1

Workflow file for this run

on:
push:
branches:
- master
workflow_dispatch:
jobs:
pypi-publish:
runs-on: ubuntu-latest
environment: release
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
- name: Build
# language=Bash
run: |
pip install -U build
python -m build .
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true