Skip to content

SAGE 2.4.22

SAGE 2.4.22 #25

Workflow file for this run

name: Publish to PyPI
on:
workflow_dispatch:
release:
types: [published]
jobs:
publish:
name: Build and publish package
runs-on: ubuntu-latest
environment: pypi
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: pip
- name: Install build tooling
run: |
python -m pip install --upgrade pip
python -m pip install build twine
- name: Build distributions
run: python -m build
- name: Check distributions
run: python -m twine check dist/*
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1