File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -138,14 +138,20 @@ jobs :
138
138
timeout-minutes : 20
139
139
steps :
140
140
- uses : actions/checkout@v2
141
+
141
142
- name : set up JDK 11.0.7
143
+ if : env.MOBILE_DEV_API_KEY != null
142
144
uses : actions/setup-java@v1
143
145
with :
144
146
java-version : 11.0.7
147
+ env :
148
+ MOBILE_DEV_API_KEY : ${{ secrets.MOBILE_DEV_API_KEY }}
149
+
145
150
146
151
# # Build artifact for upload with cache
147
152
- uses : burrunan/gradle-cache-action@v1
148
153
name : Build Performance Poetry APK
154
+ if : env.MOBILE_DEV_API_KEY != null
149
155
with :
150
156
gradle-dependencies-cache-key : |
151
157
gradle/libs.versions.toml
@@ -154,9 +160,12 @@ jobs :
154
160
concurrent : true
155
161
gradle-build-scan-report : false
156
162
gradle-distribution-sha-256-sum-warning : false
163
+ env :
164
+ MOBILE_DEV_API_KEY : ${{ secrets.MOBILE_DEV_API_KEY }}
157
165
158
166
# # Upload with POST
159
167
- name : Upload Poetry to mobile.dev
168
+ if : env.MOBILE_DEV_API_KEY != null
160
169
id : upload_apk
161
170
run : |
162
171
#!/usr/bin/env bash
@@ -174,6 +183,7 @@ jobs :
174
183
175
184
# # Start analysis
176
185
- name : Start analysis on mobile.dev
186
+ if : env.MOBILE_DEV_API_KEY != null
177
187
run : |
178
188
#!/usr/bin/env bash
179
189
set -e
You can’t perform that action at this time.
0 commit comments