File tree 2 files changed +25
-4
lines changed
2 files changed +25
-4
lines changed Original file line number Diff line number Diff line change 37
37
with :
38
38
git_ref : ${{ inputs.git_ref }}
39
39
40
+ test_programs :
41
+ name : Programs
42
+ uses : ./.github/workflows/test-programs.yml
43
+ secrets : inherit
44
+ with :
45
+ program_matrix : ' ["mpl-${{ inputs.program }}"]'
46
+ git_ref : ${{ inputs.git_ref }}
47
+
40
48
test_js :
41
49
name : JS client
42
50
needs : build_programs
45
53
with :
46
54
git_ref : ${{ inputs.git_ref }}
47
55
56
+ test_rust :
57
+ name : Rust client
58
+ needs : build_programs
59
+ uses : ./.github/workflows/test-rust-client.yml
60
+ secrets : inherit
61
+ with :
62
+ git_ref : ${{ inputs.git_ref }}
63
+
48
64
create_release :
49
65
name : Create program release
50
66
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 4
4
workflow_dispatch :
5
5
inputs :
6
6
git_ref :
7
- description : Release tag (release/core@0.2 .2) or commit to deploy
7
+ description : Release tag (release/core@0.9 .2) or commit to deploy
8
8
required : true
9
9
type : string
10
- default : release/core@0.2 .2
10
+ default : release/core@0.9 .2
11
11
program :
12
12
description : Program
13
13
required : true
@@ -66,22 +66,27 @@ jobs:
66
66
name : Programs
67
67
uses : ./.github/workflows/test-programs.yml
68
68
secrets : inherit
69
+ needs : [build_programs, check_tag]
70
+ if : needs.check_tag.outputs.type == 'ref'
69
71
with :
70
72
program_matrix : ' ["mpl-${{ inputs.program }}"]'
73
+ git_ref : ${{ inputs.git_ref }}
71
74
72
75
test_js :
73
76
name : JS client
74
- needs : build_programs
77
+ needs : [ build_programs, check_tag]
75
78
uses : ./.github/workflows/test-js-client.yml
76
79
secrets : inherit
80
+ if : needs.check_tag.outputs.type == 'ref'
77
81
with :
78
82
git_ref : ${{ inputs.git_ref }}
79
83
80
84
test_rust :
81
85
name : Rust client
82
- needs : build_programs
86
+ needs : [ build_programs, check_tag]
83
87
uses : ./.github/workflows/test-rust-client.yml
84
88
secrets : inherit
89
+ if : needs.check_tag.outputs.type == 'ref'
85
90
with :
86
91
git_ref : ${{ inputs.git_ref }}
87
92
You can’t perform that action at this time.
0 commit comments