1
+ name : Deploy all browser versions
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ stable :
7
+ description : ' Use upstream stable build'
8
+ required : true
9
+ type : string
10
+ default : ' true'
11
+ reuse-base :
12
+ description : ' Reuse base image to build'
13
+ required : false
14
+ type : boolean
15
+ default : true
16
+ grid-version :
17
+ description : ' Grid version to build. E.g: 4.28.1. Must provide if reusing base image'
18
+ required : false
19
+ type : string
20
+ default : ' '
21
+ push-image :
22
+ description : ' Push image after testing successfully'
23
+ required : true
24
+ type : boolean
25
+ default : false
26
+ pr-changelog :
27
+ description : ' Create a PR for CHANGELOG'
28
+ required : true
29
+ type : boolean
30
+ default : true
31
+
32
+ jobs :
33
+ dispatch-chrome :
34
+ runs-on : ubuntu-latest
35
+ steps :
36
+ - name : Dispatch Chrome versions
37
+ uses : actions/github-script@v7
38
+ with :
39
+ script : |
40
+ await github.rest.actions.createWorkflowDispatch({
41
+ owner: context.repo.owner,
42
+ repo: context.repo.repo,
43
+ workflow_id: 'release-chrome-versions.yml',
44
+ ref: context.ref,
45
+ inputs: {
46
+ 'stable': '${{ github.event.inputs.stable }}',
47
+ 'reuse-base': '${{ github.event.inputs.reuse-base }}',
48
+ 'grid-version': '${{ github.event.inputs.grid-version }}',
49
+ 'push-image': '${{ github.event.inputs.push-image }}',
50
+ 'pr-changelog': '${{ github.event.inputs.pr-changelog }}'
51
+ }
52
+ });
53
+
54
+ dispatch-edge :
55
+ runs-on : ubuntu-latest
56
+ steps :
57
+ - name : Dispatch Edge versions
58
+ uses : actions/github-script@v7
59
+ with :
60
+ script : |
61
+ await github.rest.actions.createWorkflowDispatch({
62
+ owner: context.repo.owner,
63
+ repo: context.repo.repo,
64
+ workflow_id: 'release-edge-versions.yml',
65
+ ref: context.ref,
66
+ inputs: {
67
+ 'stable': '${{ github.event.inputs.stable }}',
68
+ 'reuse-base': '${{ github.event.inputs.reuse-base }}',
69
+ 'grid-version': '${{ github.event.inputs.grid-version }}',
70
+ 'push-image': '${{ github.event.inputs.push-image }}',
71
+ 'pr-changelog': '${{ github.event.inputs.pr-changelog }}'
72
+ }
73
+ });
74
+
75
+ dispatch-firefox :
76
+ runs-on : ubuntu-latest
77
+ steps :
78
+ - name : Dispatch Firefox versions
79
+ uses : actions/github-script@v7
80
+ with :
81
+ script : |
82
+ await github.rest.actions.createWorkflowDispatch({
83
+ owner: context.repo.owner,
84
+ repo: context.repo.repo,
85
+ workflow_id: 'release-firefox-versions.yml',
86
+ ref: context.ref,
87
+ inputs: {
88
+ 'stable': '${{ github.event.inputs.stable }}',
89
+ 'reuse-base': '${{ github.event.inputs.reuse-base }}',
90
+ 'grid-version': '${{ github.event.inputs.grid-version }}',
91
+ 'push-image': '${{ github.event.inputs.push-image }}',
92
+ 'pr-changelog': '${{ github.event.inputs.pr-changelog }}'
93
+ }
94
+ });
0 commit comments