-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (46 loc) · 1.11 KB
/
bot.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
41
42
43
44
45
46
47
48
49
50
51
name: bot
on:
workflow_call:
inputs:
cargo_loc:
default: '0'
required: true
type: string
cargo_bin:
default: '0'
required: true
type: string
note_hash:
default: 'None'
required: true
type: string
jobs:
ready:
uses: AUTOM77/Rust-Actions/.github/workflows/cargo-version.yml@main
with:
cargo_path: ${{ inputs.cargo_loc }}
increment: true
secrets: inherit
push:
needs:
- ready
uses: AUTOM77/Rust-Actions/.github/workflows/create-tag.yml@main
with:
version: v${{ needs.ready.outputs.version }}
secrets: inherit
publish:
needs:
- push
uses: AUTOM77/Rust-Actions/.github/workflows/pre-release.yml@main
with:
push_tag: ${{ needs.push.outputs.tag }}
note: "Hash-tag: ${{ inputs.note_hash }}"
secrets: inherit
cross-release:
needs:
- publish
uses: AUTOM77/Rust-Actions/.github/workflows/release-matrix.yml@main
with:
binary: ${{ inputs.cargo_bin }}
pushed_tag: ${{ needs.publish.outputs.pushed_tag }}
secrets: inherit