@@ -102,100 +102,53 @@ jobs:
102102 path : instrumentation/runner/build/reports
103103 destination : instrumentation-runner
104104
105- deploy_plugin_snapshots :
105+ deploy_plugin :
106106 << : *defaults
107107 steps :
108108 - attach_workspace :
109109 at : ~/root
110110 - restore_cache :
111111 << : *cache_key
112112 - 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
115115 - store_artifacts :
116116 path : plugin/android-junit5/build/publications
117117 destination : plugin/publications/snapshots
118118
119- deploy_instrumentation_snapshots :
119+ deploy_instrumentation :
120120 << : *defaults
121121 steps :
122122 - attach_workspace :
123123 at : ~/root
124124 - restore_cache :
125125 << : *cache_key
126126 - 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
129129 - store_artifacts :
130130 path : instrumentation/core/build/publications
131131 destination : instrumentation-core/publications/snapshots
132132 - store_artifacts :
133133 path : instrumentation/runner/build/publications
134134 destination : instrumentation-runner/publications/snapshots
135135
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-
167136workflows :
168137 version : 2
169138
170139 build_deploy :
171140 jobs :
172141 - build_plugin
173142 - 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 :
187144 requires :
188145 - build_plugin
189146 filters :
190147 branches :
191148 only : master
192- tags :
193- only : plugin-*
194- - deploy_instrumentation_release :
149+ - deploy_instrumentation :
195150 requires :
196151 - build_instrumentation
197152 filters :
198153 branches :
199154 only : master
200- tags :
201- only : instrumentation-*
0 commit comments