Closed bostick closed 4 years ago
I think you can directly re-run the action in the webpage somewhere without making a new commit to trigger it.
@bostick, with respect to 1296e0f, I do not think the -activate
option for wolframscript
can take a value even though its help message says otherwise.
@kenkangxgwe Where would that be? I did not know about that
@cc-wr Do you have an example of what a succesfull script for authenticating and activating looks like?
Only for failed actions: https://help.github.com/en/actions/configuring-and-managing-workflows/managing-a-workflow-run
Btw, the original —activate
worked for me. Wondering why WOLFRAM_AK
is needed. Can it auto deactivates itself when the current instance of action is destroyed? Otherwise will it work on the next action that is triggered? Better to have a float license?
When you say the original -activate worked for you, I wonder what the precise sequence of steps was and how they are different than what the script is doing here. You can see in this run with the original -activate that it failed: https://github.com/WolframResearch/codeparser/runs/667036479?check_suite_focus=true
It did not work because at that time you didn’t add the SECRETS. It worked on my fork with my SECRETS: https://github.com/kenkangxgwe/codeparser/runs/666237583?check_suite_focus=true at that step.
Btw, that failure was caused by not Exit[]
at the end of script.
Aha, do you have a valid Wolfram Engine license bound to your account?
Yes! That was the problem! I got the license setup, now the engine is working.
Running the tests should be comparatively easy...
I have never used GitHub Actions before. How exactly will this work when it's set up to run tests?
I also want to say thank you to both for trying to get this working! I wanted this for a long time, but I would never have gotten it set up alone.
For now, yes, will be re-installed each time. Will figure out a better solution if it causes problems.
Not sure about licensing. But the account that is being used for builds was created for this purpose, and hopefully will be able to accommodate whatever demands there are.
It will be great if you can provide the secrets to the actions so we may know whether it works or not.