Skip to content

feat: init v0.0.1

feat: init v0.0.1 #1

Workflow file for this run

name: Publish to PyPI
on:
push:
tags: ['v*']
workflow_dispatch:
jobs:
build:
name: Build distributions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install build tooling
run: python -m pip install --upgrade build
- name: Build sdist and wheel
run: python -m build
- name: Upload dist artifact
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
publish:
name: Publish to PyPI
needs: build
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/lying-docs
permissions:
id-token: write
steps:
- name: Download dist artifact
uses: actions/download-artifact@v4
with:
name: dist
path: dist/
- name: Publish via Trusted Publishing
uses: pypa/gh-action-pypi-publish@release/v1