(Automatic) Release Python, Rust & Github #46
This file contains 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: (Automatic) Release Python, Rust & Github | |
on: | |
workflow_dispatch: | |
inputs: | |
base: | |
description: 'Name of branch to open PR against' | |
type: 'string' | |
default: 'master' | |
dry_run: | |
description: 'DRY RUN: If true will not publish the release to pypi/crates but will release to github' | |
type: boolean | |
default: false | |
jobs: | |
call-release-rust-workflow: | |
name: _Release 2 - Publish Rust package to crates.io | |
uses: ./.github/workflows/_release_rust.yml | |
with: | |
base: ${{ inputs.base }} | |
dry_run: ${{ inputs.dry_run == true }} | |
secrets: inherit | |
call-release-python-workflow: | |
name: _Release 3 - Publish python to pypi | |
uses: ./.github/workflows/_release_python.yml | |
with: | |
base: ${{ inputs.base }} | |
dry_run: ${{ inputs.dry_run == true }} | |
secrets: inherit | |
call-release-github-workflow: | |
name: _Release 4 - Publish to Github | |
uses: ./.github/workflows/_release_github.yml | |
with: | |
base: ${{ inputs.base }} | |
secrets: inherit |