File tree 1 file changed +11
-6
lines changed
1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 7
7
publish_type :
8
8
description : ' Publish Options'
9
9
required : true
10
- default : ' Initial Publish'
10
+ default : ' Publish'
11
11
type : choice
12
12
options :
13
- - Initial Publish
14
- - Republish
13
+ - Publish
15
14
- Dry Run
16
15
version :
17
16
description : ' Version to publish (default: latest desktop release)'
18
17
required : true
19
18
type : string
20
19
default : latest
21
- rollout_percentage :
22
- description : ' Staged Rollout Percentage'
20
+ electron_rollout_percentage :
21
+ description : ' Staged Rollout Percentage for Electron '
23
22
required : true
24
23
default : ' 10'
25
24
type : string
25
+ electron_publish :
26
+ description : ' Publish Electron blob to AWS'
27
+ required : true
28
+ default : true
29
+ type : boolean
26
30
snap_publish :
27
31
description : ' Publish to Snap store'
28
32
required : true
@@ -107,6 +111,7 @@ jobs:
107
111
name : Electron blob publish
108
112
runs-on : ubuntu-22.04
109
113
needs : setup
114
+ if : inputs.electron_publish
110
115
env :
111
116
_PKG_VERSION : ${{ needs.setup.outputs.release-version }}
112
117
_RELEASE_TAG : ${{ needs.setup.outputs.tag-name }}
@@ -137,7 +142,7 @@ jobs:
137
142
- name : Set staged rollout percentage
138
143
env :
139
144
RELEASE_CHANNEL : ${{ needs.setup.outputs.release-channel }}
140
- ROLLOUT_PCT : ${{ inputs.rollout_percentage }}
145
+ ROLLOUT_PCT : ${{ inputs.electron_rollout_percentage }}
141
146
run : |
142
147
echo "stagingPercentage: ${ROLLOUT_PCT}" >> apps/desktop/artifacts/${RELEASE_CHANNEL}.yml
143
148
echo "stagingPercentage: ${ROLLOUT_PCT}" >> apps/desktop/artifacts/${RELEASE_CHANNEL}-linux.yml
You can’t perform that action at this time.
0 commit comments