Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

Uploading actions.json command uses 'test' instead of 'update' #13

Open
PaulTR opened this issue May 29, 2018 · 2 comments
Open

Uploading actions.json command uses 'test' instead of 'update' #13

PaulTR opened this issue May 29, 2018 · 2 comments

Comments

@PaulTR
Copy link

PaulTR commented May 29, 2018

Tried using the gaction command provided by the code lab for uploading the blinky LED actions sample, but it wasn't being recognized by the Android Things device.

MachineLearningDemo git:(master) ✗ /Users/paul/Downloads/gactions test --action_package actions.json --project machine-learning-demo-cddf4
Pushing the app for the Assistant for testing...
Your app for the Assistant for project machine-learning-demo-cddf4 is now ready for testing on Actions on Google enabled devices or the Actions Web Simulator at https://console.actions.google.com/project/machine-learning-demo-cddf4/simulator/ 

Switched the word 'test' to 'update' after some digging in the documentation, and it allowed my device to use the action.

(env) ➜  MachineLearningDemo git:(master) ✗ /Users/paul/Downloads/gactions update --action_package actions.json --project machine-learning-demo-cddf4
Your app for the Assistant for project machine-learning-demo-cddf4 was successfully updated with your actions. Visit the Actions on Google console to finish registering your app and submit it for review at https://console.actions.google.com/project/machine-learning-demo-cddf4/overview
@Fleker
Copy link
Contributor

Fleker commented May 29, 2018

gactions test should work fine. I wonder if the issue is related to a brief delay between pushing the action package and waiting for the server to update.

@PaulTR
Copy link
Author

PaulTR commented May 29, 2018

Hrm, dunno. I actually put it away last night after a couple hours messing with it, then came back this morning and it still wasn't registered/working. Once I switched to update, it worked immediately.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants