From 3b75707494f3ebbd8aee8477cf552a3a61ac5963 Mon Sep 17 00:00:00 2001 From: Masashi Katsumata Date: Mon, 17 Aug 2026 00:32:26 +0900 Subject: [PATCH] Skip the sample app when publishing The publish task evaluates `:sample-app`, which needs credentials/config files that do not exist on a CI runner. Pass `-PskipSampleApp=true` as android-for-googlemaps and android-for-arcgis already do. --- .github/workflows/publish-maven-central.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-maven-central.yml b/.github/workflows/publish-maven-central.yml index 842941c..f308f97 100644 --- a/.github/workflows/publish-maven-central.yml +++ b/.github/workflows/publish-maven-central.yml @@ -97,7 +97,7 @@ jobs: fi echo " Will publish local version ${local_version} (remote='${remote_version}')." - ./gradlew --no-daemon publishAllPublicationsToCentralPortal + ./gradlew --no-daemon -PskipSampleApp=true publishAllPublicationsToCentralPortal gradle_exit=$? if [[ $gradle_exit -ne 0 ]]; then echo "Gradle publish failed with exit code $gradle_exit"