Skip to content

docs: point SkillWeave at central planning (#6) #168

docs: point SkillWeave at central planning (#6)

docs: point SkillWeave at central planning (#6) #168

Workflow file for this run

name: Publish to TestPyPI
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build:
# Hybrid mirror: this GitHub-only release pipeline is skipped on the
# self-hosted Forgejo (no macOS/Windows runners). Runs on GitHub only.
if: ${{ github.server_url == 'https://github.com' }}
name: Build distributions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install build backend
run: python -m pip install --upgrade build
- name: Build sdist and wheel
run: python -m build
- name: Upload dist artifacts
uses: actions/upload-artifact@v4
with:
name: python-dist
path: dist/
publish:
name: Publish to TestPyPI
needs: build
runs-on: ubuntu-latest
environment:
name: testpypi
url: https://test.pypi.org/p/capacium
permissions:
id-token: write
steps:
- name: Download dist artifacts
uses: actions/download-artifact@v4
with:
name: python-dist
path: dist/
- name: Publish to TestPyPI
run: echo "TestPyPI publish paused until org verified"
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# repository-url: https://test.pypi.org/legacy/