Skip to content

Publish rffickle to PyPI #1

Publish rffickle to PyPI

Publish rffickle to PyPI #1

name: Publish rffickle to PyPI
on:
push:
tags:
- "v*"
workflow_dispatch:
permissions:
contents: read
id-token: write
jobs:
publish-release:
name: Publish Release Package
runs-on: ubuntu-latest
environment:
name: release
url: https://pypi.org/project/rffickle/
timeout-minutes: 10
steps:
- name: 📥 Checkout the repository
uses: actions/checkout@v4
- name: 🐍 Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: 📦 Install build dependencies
run: |
python -m pip install --upgrade pip
pip install build twine
- name: 🏗️ Build source and wheel distributions
run: |
python -m build
twine check --strict dist/*
- name: 🚀 Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
attestations: true