-
Notifications
You must be signed in to change notification settings - Fork 54
34 lines (33 loc) · 1.02 KB
/
release_auto.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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