Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/aio-surfaces / .github/workflows/publish-pypi.yml |
| Date | Not specified in source |
| Repository | Janady13/aio-surfaces |
| Revision | 4d0ef73ec42f209ff4947b559228f1884121ff8f |
| Branch | main |
| Path or archive member | .github/workflows/publish-pypi.yml |
| Original SHA-256 | 1b4350aaf310068c66e4a9e19b7ba186510dc95480114adfbae8d149a4b531d9 |
| Git blob SHA | 83018f20f81dd4e6592f10b399fbe8f9019f1112 |
| Reading-copy SHA-256 | 1b4350aaf310068c66e4a9e19b7ba186510dc95480114adfbae8d149a4b531d9 |
Recovered source transcript
Download complete source text ↓34 lines · 0.8 KB
name: Publish to PyPI
on:
release:
types: [published]
workflow_dispatch:
jobs:
publish:
name: Build and publish to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/aio-surfaces
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install build tools
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Build sdist and wheel
run: python -m build
- name: Verify package
run: twine check dist/*
- name: Publish to PyPI (trusted publisher)
uses: pypa/gh-action-pypi-publish@release/v1