-
Notifications
You must be signed in to change notification settings - Fork 55
40 lines (39 loc) · 1.23 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
35
36
37
38
39
40
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
# call-release-docker-workflow:
# name: _Release 5 - Publish Docker Images to Docker Hub
# uses: ./.github/workflows/_release_docker.yml
# with:
# version: ${{ inputs.base }}
# secrets: inherit