Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .DS_Store
Binary file not shown.
42 changes: 42 additions & 0 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Publish to PyPI

on:
release:
types: [published]
workflow_dispatch:

jobs:
build-and-publish:
name: Build and publish Python distribution to PyPI
runs-on: ubuntu-latest

# These permissions are required for PyPI Trusted Publishing (OIDC)
permissions:
id-token: write
contents: read

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: Install build dependencies
run: python -m pip install --upgrade pip build

- name: Build package (sdist and wheel)
run: python -m build

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
# Note: We are using Trusted Publishing (OIDC) which is recommended by PyPI.
# To use this, you must configure a pending publisher on PyPI for this GitHub repository.
# See: https://docs.pypi.org/trusted-publishers/

# If you prefer to use an API token instead, uncomment the line below
# and add a PYPI_API_TOKEN to your GitHub repository secrets.
# password: ${{ secrets.PYPI_API_TOKEN }}
Binary file modified fastforge/.DS_Store
Binary file not shown.
Binary file modified fastforge/templates/.DS_Store
Binary file not shown.