#!/usr/bin/expect -f set timeout 300 spawn npx eas-cli@latest build --platform android --profile preview --non-interactive --no-wait expect { "Generate a new Android Keystore?" { send "n\r"; exp_continue } "Would you like to set up" { send "y\r"; exp_continue } "Do you want to log in" { send "n\r"; exp_continue } eof { puts "\nBuild started on EAS cloud" } } wait