Unverified Commit 9b893b14 authored by xster's avatar xster Committed by GitHub

Set the upload key in cirrus when publishing (#22581)

parent bfa98221
......@@ -28,6 +28,12 @@ if [[ "$SHARD" = "deploy_gallery" ]]; then
version="$(<version)"
if [[ "$OS" == "linux" ]]; then
echo "Building Flutter Gallery $version for Android..."
set +x # Don't echo back the below.
if [ -n "$ANDROID_GALLERY_UPLOAD_KEY" ]; then
echo "$ANDROID_GALLERY_UPLOAD_KEY" | base64 --decode > /root/.android/debug.keystore
fi
set -x
# ANDROID_HOME must be set in the env.
(
cd examples/flutter_gallery
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment