File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 15
15
16
16
jobs :
17
17
vrt-init :
18
- if : ${{ github.event.label.name == 'vrt:chrome-ready' || github.event.label.name == 'vrt:mobile-ready' || github.event.label.name == 'vrt:full-ready'}}
18
+ if : startsWith( github.event.label.name, 'vrt:')
19
19
runs-on : ubuntu-latest
20
20
21
21
steps :
36
36
cache : ' npm'
37
37
38
38
vrt-desktop :
39
- if : ${{ github.event.label.name == ' vrt:full-ready' || github.event.label.name == 'vrt:chrome-ready'}}
39
+ if : contains(fromJSON('[" vrt:full-ready", "vrt:chrome-ready"]'), github.event.label.name)
40
40
needs : vrt-init
41
41
runs-on : ubuntu-latest
42
42
68
68
NODE_OPTIONS : --openssl-legacy-provider # per https://candid.technology/error-error-0308010c-digital-envelope-routines-unsupported/
69
69
70
70
vrt-legacy :
71
- if : ${{ github.event.label.name == 'vrt:full-ready'}}
71
+ if : contains(fromJSON('["vrt:full-ready"]'), github.event.label.name)
72
72
needs : vrt-init
73
73
runs-on : ubuntu-latest
74
74
@@ -101,7 +101,7 @@ jobs:
101
101
NODE_OPTIONS : --openssl-legacy-provider # per https://candid.technology/error-error-0308010c-digital-envelope-routines-unsupported/
102
102
103
103
vrt-mobile :
104
- if : ${{ github.event.label.name == ' vrt:full-ready' || github.event.label.name == 'vrt:mobile-ready'}}
104
+ if : contains(fromJSON('[" vrt:full-ready", "vrt:mobile-ready"]'), github.event.label.name)
105
105
needs : vrt-init
106
106
runs-on : ubuntu-latest
107
107
@@ -135,7 +135,7 @@ jobs:
135
135
136
136
vrt-wrap :
137
137
needs : [vrt-desktop, vrt-legacy, vrt-mobile]
138
- if : always() && !cancelled() && !contains(needs.*.result, 'failure')
138
+ if : startsWith(github.event.label.name, 'vrt:') && always() && !cancelled() && !contains(needs.*.result, 'failure')
139
139
runs-on : ubuntu-latest
140
140
env :
141
141
APPLITOOLS_API_KEY : ${{ secrets.APPLITOOLS_API_KEY }}
You can’t perform that action at this time.
0 commit comments