@@ -102,100 +102,53 @@ jobs:
102
102
path : instrumentation/runner/build/reports
103
103
destination : instrumentation-runner
104
104
105
- deploy_plugin_snapshots :
105
+ deploy_plugin :
106
106
<< : *defaults
107
107
steps :
108
108
- attach_workspace :
109
109
at : ~/root
110
110
- restore_cache :
111
111
<< : *cache_key
112
112
- run :
113
- name : (Plugin) Deploy SNAPSHOTs
114
- command : cd plugin && ./gradlew publishLibraryPublicationToSnapshotRepository --stacktrace --no-daemon
113
+ name : (Plugin) Deploy
114
+ command : cd plugin && ./gradlew deploy --stacktrace --no-daemon
115
115
- store_artifacts :
116
116
path : plugin/android-junit5/build/publications
117
117
destination : plugin/publications/snapshots
118
118
119
- deploy_instrumentation_snapshots :
119
+ deploy_instrumentation :
120
120
<< : *defaults
121
121
steps :
122
122
- attach_workspace :
123
123
at : ~/root
124
124
- restore_cache :
125
125
<< : *cache_key
126
126
- run :
127
- name : (Instrumentation) Deploy SNAPSHOTs
128
- command : cd instrumentation && ./gradlew publishLibraryPublicationToSnapshotRepository --stacktrace --no-daemon
127
+ name : (Instrumentation) Deploy
128
+ command : cd instrumentation && ./gradlew deploy --stacktrace --no-daemon
129
129
- store_artifacts :
130
130
path : instrumentation/core/build/publications
131
131
destination : instrumentation-core/publications/snapshots
132
132
- store_artifacts :
133
133
path : instrumentation/runner/build/publications
134
134
destination : instrumentation-runner/publications/snapshots
135
135
136
- deploy_plugin_release :
137
- << : *defaults
138
- steps :
139
- - attach_workspace :
140
- at : ~/root
141
- - restore_cache :
142
- << : *cache_key
143
- - run :
144
- name : (Plugin) Deploy
145
- command : cd plugin && ./gradlew generatePomFileForLibraryPublication publish :android-junit5:bintrayUpload --stacktrace --no-daemon
146
- - store_artifacts :
147
- path : plugin/android-junit5/build/publications
148
- destination : plugin/publications/releases
149
-
150
- deploy_instrumentation_release :
151
- << : *defaults
152
- steps :
153
- - attach_workspace :
154
- at : ~/root
155
- - restore_cache :
156
- << : *cache_key
157
- - run :
158
- name : (Instrumentation) Deploy
159
- command : cd instrumentation && ./gradlew generatePomFileForLibraryPublication publish :api:bintrayUpload :core:bintrayUpload :runner:bintrayUpload --stacktrace --no-daemon
160
- - store_artifacts :
161
- path : instrumentation/core/build/publications
162
- destination : instrumentation-core/publications/releases
163
- - store_artifacts :
164
- path : instrumentation/runner/build/publications
165
- destination : instrumentation-runner/publications/releases
166
-
167
136
workflows :
168
137
version : 2
169
138
170
139
build_deploy :
171
140
jobs :
172
141
- build_plugin
173
142
- build_instrumentation
174
- - deploy_plugin_snapshots :
175
- requires :
176
- - build_plugin
177
- filters :
178
- branches :
179
- only : master
180
- - deploy_instrumentation_snapshots :
181
- requires :
182
- - build_instrumentation
183
- filters :
184
- branches :
185
- only : master
186
- - deploy_plugin_release :
143
+ - deploy_plugin :
187
144
requires :
188
145
- build_plugin
189
146
filters :
190
147
branches :
191
148
only : master
192
- tags :
193
- only : plugin-*
194
- - deploy_instrumentation_release :
149
+ - deploy_instrumentation :
195
150
requires :
196
151
- build_instrumentation
197
152
filters :
198
153
branches :
199
154
only : master
200
- tags :
201
- only : instrumentation-*
0 commit comments