Custom upload

If you are building outside of CI/CD or in another CI provider, you can also upload your Android emulator build manually using Waldo CLI.

export WALDO_CLI_BIN=/usr/local/bin

if [ ! -e ${WALDO_CLI_BIN}/waldo ]; then
  bash -c "$(curl -fLs https://github.com/waldoapp/waldo-go-cli/raw/master/install-waldo.sh)"
fi

#...
#... (generate .apk)
#...

export WALDO_UPLOAD_TOKEN=<<waldoUploadToken>>

BUILD_PATH=/path/to/YourApp.apk

${WALDO_CLI_BIN}/waldo upload "$BUILD_PATH"

Make sure you use your "CI Token" (you can find it in: Sidebar > Configuration > General. We make sure tokens used in CI are only scoped to a specific app, as a result CI uploads won't work with your User token (that you can find in user menu > Account settings > Profile).