Skip to content

Commit 5cf564f

Browse files
authored
Skip the sample app when publishing (#5)
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.
1 parent 3d23bfe commit 5cf564f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish-maven-central.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
fi
9898
9999
echo " Will publish local version ${local_version} (remote='${remote_version}')."
100-
./gradlew --no-daemon publishAllPublicationsToCentralPortal
100+
./gradlew --no-daemon -PskipSampleApp=true publishAllPublicationsToCentralPortal
101101
gradle_exit=$?
102102
if [[ $gradle_exit -ne 0 ]]; then
103103
echo "Gradle publish failed with exit code $gradle_exit"

0 commit comments

Comments
 (0)