GitHub Actions uploading android from ubuntu runner --use-submission-service

I have a question to save minutes on GitHub Actions I’m trying to figure out how to upload the app with --use-submission-service flag. I’m building the APK with turtle-cli but when I do this command:

expo upload:android --use-submission-service --path ~/.expo-apps/build.apk --key /home/runner/work/_temp/google-service-account.json --type apk

It gives me this error. I want to run it as non-interactive and when I run this on my mac it works fine without asking anything. Do you guys have any solution?

[13:41:52] Uploading your app archive to the Expo Submission Service
[13:41:54] We couldn't autodetect the archive type
[13:41:54] Input is required, but Expo CLI is in non-interactive mode.

Hi @lexlemmens,
Thanks for reporting! This is a bug on our side. I fixed that in [expo-cli] submission service: fix passing archive type from command line by dsokal · Pull Request #2383 · expo/expo-cli · GitHub. It should be included in the next release of expo-cli.
Sorry for the inconvenience.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.