Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/seo-sidecar / .github/workflows/publish-pypi.yml |
| Date | Not specified in source |
| Repository | Janady13/seo-sidecar |
| Revision | c66ba23646cf638023e8803dc201dd69089107c9 |
| Branch | main |
| Path or archive member | .github/workflows/publish-pypi.yml |
| Original SHA-256 | bd2f3e0d582d3ec6641df12eafc99afabbfef7b152bb6a2e2dfcec1b1b479937 |
| Git blob SHA | 703fd8cf08124af61b7570ba5fd399b03ce0d00d |
| Reading-copy SHA-256 | bd2f3e0d582d3ec6641df12eafc99afabbfef7b152bb6a2e2dfcec1b1b479937 |
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/seo-sidecar
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