Skip to content
This repository was archived by the owner on Nov 10, 2025. It is now read-only.

Publish

Publish #8

Workflow file for this run

name: Publish
on:
workflow_dispatch:
inputs:
python_wheel_workflow_run_id:
description: 'Workflow run ID of previously finished python-wheel workflow' # the run ID is part of the url of the workflow run
required: true
type: string
env:
VERBOSE: 1
jobs:
publish-to-pypi:
name: Publish to PyPI
runs-on: ubuntu-latest
timeout-minutes: 15
environment:
name: pypi
url: https://pypi.org/p/ryd-numerov
permissions:
id-token: write
steps:
- name: Download artifact
id: download-artifact
uses: dawidd6/action-download-artifact@v11
with:
run_id: ${{ github.event.inputs.python_wheel_workflow_run_id }}
name: dist
path: dist
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: dist/