Skip to content

Merge pull request #2 from AscEmon/feature/ui_update #1

Merge pull request #2 from AscEmon/feature/ui_update

Merge pull request #2 from AscEmon/feature/ui_update #1

Workflow file for this run

name: Publish to PyPI
# Publishes when you push a version tag like v1.1.0.
# Release flow: bump the version in pyproject.toml + fluttership/__init__.py,
# commit, then: git tag v1.1.0 && git push origin v1.1.0
on:
push:
tags:
- "v*"
jobs:
build-and-publish:
runs-on: ubuntu-latest
environment: pypi
permissions:
# Required for PyPI Trusted Publishing (OIDC) — no API token needed.
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Build distribution
run: |
python -m pip install --upgrade build
python -m build
- name: Check distribution
run: |
python -m pip install --upgrade twine
python -m twine check dist/*
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1