-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy pathrelease-all-browser-versions.yml
More file actions
115 lines (110 loc) · 3.99 KB
/
release-all-browser-versions.yml
File metadata and controls
115 lines (110 loc) · 3.99 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
name: Deploy all browser versions
on:
workflow_dispatch:
inputs:
stable:
description: 'Use upstream stable build'
required: true
type: string
default: 'true'
reuse-base:
description: 'Reuse base image to build'
required: false
type: boolean
default: true
grid-version:
description: 'Grid version to build. E.g: 4.28.1. Must provide if reusing base image'
required: false
type: string
default: ''
push-image:
description: 'Push image after testing successfully'
required: true
type: boolean
default: false
pr-changelog:
description: 'Create a PR for CHANGELOG'
required: true
type: boolean
default: true
jobs:
dispatch-chrome:
runs-on: ubuntu-latest
steps:
- name: Dispatch Chrome versions
uses: actions/github-script@v9
with:
script: |
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'release-chrome-versions.yml',
ref: context.ref,
inputs: {
'stable': '${{ github.event.inputs.stable }}',
'reuse-base': '${{ github.event.inputs.reuse-base }}',
'grid-version': '${{ github.event.inputs.grid-version }}',
'push-image': '${{ github.event.inputs.push-image }}',
'pr-changelog': '${{ github.event.inputs.pr-changelog }}'
}
});
dispatch-chrome-for-testing:
runs-on: ubuntu-latest
steps:
- name: Dispatch Chrome for Testing versions
uses: actions/github-script@v9
with:
script: |
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'release-chrome-for-testing-versions.yml',
ref: context.ref,
inputs: {
'stable': '${{ github.event.inputs.stable }}',
'reuse-base': '${{ github.event.inputs.reuse-base }}',
'grid-version': '${{ github.event.inputs.grid-version }}',
'push-image': '${{ github.event.inputs.push-image }}',
'pr-changelog': '${{ github.event.inputs.pr-changelog }}'
}
});
dispatch-edge:
runs-on: ubuntu-latest
steps:
- name: Dispatch Edge versions
uses: actions/github-script@v9
with:
script: |
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'release-edge-versions.yml',
ref: context.ref,
inputs: {
'stable': '${{ github.event.inputs.stable }}',
'reuse-base': '${{ github.event.inputs.reuse-base }}',
'grid-version': '${{ github.event.inputs.grid-version }}',
'push-image': '${{ github.event.inputs.push-image }}',
'pr-changelog': '${{ github.event.inputs.pr-changelog }}'
}
});
dispatch-firefox:
runs-on: ubuntu-latest
steps:
- name: Dispatch Firefox versions
uses: actions/github-script@v9
with:
script: |
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'release-firefox-versions.yml',
ref: context.ref,
inputs: {
'stable': '${{ github.event.inputs.stable }}',
'reuse-base': '${{ github.event.inputs.reuse-base }}',
'grid-version': '${{ github.event.inputs.grid-version }}',
'push-image': '${{ github.event.inputs.push-image }}',
'pr-changelog': '${{ github.event.inputs.pr-changelog }}'
}
});