File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Github Release Publish
2+ run-name : " Github Release Publish (tag=${{github.ref_name}})"
3+
4+ on :
5+ release :
6+ types : [published]
7+
8+ jobs :
9+ publish-release :
10+ uses : ./.github/workflows/publish-release.yml
11+ secrets : inherit # pass all secrets (required to access secrets in a called workflow)
12+ with :
13+ pypi_target : " test.pypi.org"
14+ repo_release_ref : ${{ github.ref_name }}
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ name: Publish Release
22run-name : " Publish Release (pypi_target=${{ inputs.pypi_target }}, repo_release_ref=${{ inputs.repo_release_ref }})"
33
44on :
5+ # Trigger release workflow from other workflows (e.g. release dev build as part of CI)
56 workflow_call :
67 inputs :
78 pypi_target :
1314 description : " Gitlint git reference to publish release for"
1415 type : string
1516 default : " main"
17+
18+ # Manually trigger a release
1619 workflow_dispatch :
1720 inputs :
1821 pypi_target :
You can’t perform that action at this time.
0 commit comments