Skip to content

Workflow file for this run

name: Publish to PyPI
on:
schedule:
- cron: '42 1 * * *'
push:
# release:
# types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: PyPI
url: https://pypi.org/p/conics
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Setup Dependencies
run: |
pip install build
- name: Build
run: python -m build
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1