File tree 2 files changed +3
-2
lines changed 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -106,8 +106,9 @@ function get_windows_matrix_include(array $branches) {
106
106
if ($ discard_cache ) {
107
107
@unlink (get_branch_commit_cache_file_path ());
108
108
}
109
+ $ branch = $ argv [3 ] ?? 'master ' ;
109
110
110
- $ branches = get_branches ();
111
+ $ branches = $ branch === ' master ' ? get_branches () : get_branch_matrix ([ $ branch ] );
111
112
$ matrix_include = get_matrix_include ($ branches );
112
113
$ windows_matrix_include = get_windows_matrix_include ($ branches );
113
114
Original file line number Diff line number Diff line change 32
32
nightly-
33
33
- name : Generate Matrix
34
34
id : set-matrix
35
- run : php .github/nightly_matrix.php "${{ github.event_name }}" "${{ github.run_attempt }}"
35
+ run : php .github/nightly_matrix.php "${{ github.event_name }}" "${{ github.run_attempt }}" "${{ github.head_ref || github.ref_name }}"
36
36
- name : Notify Slack
37
37
if : failure()
38
38
uses : ./.github/actions/notify-slack
You can’t perform that action at this time.
0 commit comments