This repository was archived by the owner on Nov 10, 2025. It is now read-only.
Publish #8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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/ |