-
Notifications
You must be signed in to change notification settings - Fork 75
59 lines (51 loc) · 1.45 KB
/
build.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
52
53
54
55
56
57
58
59
name: Build Binaries
on:
# TODO: allow workflow dispatch to specify which binaries to build
workflow_dispatch:
inputs:
tag:
description: Git branch, or tag to build from
required: false
push:
tags:
- "**-v[0-9]+.[0-9]+.[0-9]+"
- "**-v[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+"
- "**-v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+"
- "**-v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+"
jobs:
cli:
uses: './.github/workflows/reusable-build.yml'
with:
package-name: 'cli'
tag: ${{ inputs.tag }}
conductor:
uses: './.github/workflows/reusable-build.yml'
with:
package-name: 'conductor'
tag: ${{ inputs.tag }}
composer:
uses: './.github/workflows/reusable-build.yml'
with:
package-name: 'composer'
tag: ${{ inputs.tag }}
sequencer:
uses: './.github/workflows/reusable-build.yml'
with:
package-name: 'sequencer'
tag: ${{ inputs.tag }}
relayer:
uses: './.github/workflows/reusable-build.yml'
with:
package-name: 'sequencer-relayer'
tag: ${{ inputs.tag }}
bridge-withdrawer:
uses: './.github/workflows/reusable-build.yml'
with:
package-name: 'bridge-withdrawer'
tag: ${{ inputs.tag }}
build:
if: ${{ always() && !cancelled() }}
needs: [cli, composer, conductor, sequencer, relayer, bridge-withdrawer]
uses: ./.github/workflows/reusable-success.yml
with:
success: ${{ !contains(needs.*.result, 'failure') }}