Skip to content

Commit eb656bc

Browse files
temapgithub-actions[bot]
authored andcommitted
ci: split SDK registry upload into independent targets
The monolithic upload-to-sdk-registry target ran private, private ndk27, and public uploads sequentially in a single make invocation. If any module failed (e.g. artifacts already in S3 from a previous attempt), make stopped and the remaining groups never uploaded. Split into three Makefile targets (upload-to-sdk-registry-private, upload-to-sdk-registry-private-ndk27, upload-to-sdk-registry-public) and call each as a separate workflow step with its own error handling. A re-run after a partial failure now skips the groups that already succeeded and continues with the rest. (cherry picked from commit 88e88496ea8fd466709f9040ea1593c9b9b449c4) GitOrigin-RevId: 514abfa7ac6d8ad11a9bdfc6bffdb4f988304a9c
1 parent 3e2a7d4 commit eb656bc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,8 @@ upload-to-sdk-registry-snapshot:
206206

207207
.PHONY: upload-to-sdk-registry
208208
upload-to-sdk-registry:
209-
./gradlew mapboxSDKRegistryUpload $(if $(VERSION_NAME),-PVERSION_NAME=$(VERSION_NAME),)
210-
./gradlew mapboxSDKRegistryUpload $(if $(VERSION_NAME),-PVERSION_NAME=$(VERSION_NAME),) -PndkMajor=27
209+
./gradlew mapboxSDKRegistryUpload --continue $(if $(VERSION_NAME),-PVERSION_NAME=$(VERSION_NAME),)
210+
./gradlew mapboxSDKRegistryUpload --continue $(if $(VERSION_NAME),-PVERSION_NAME=$(VERSION_NAME),) -PndkMajor=27
211211

212212
.PHONY: publish-to-sdk-registry
213213
publish-to-sdk-registry:

0 commit comments

Comments
 (0)