GitHub Actions/Runner - Mojo

I created a GH Action that would download and run Mojo here. Unfortunately, even after running modular clean, re-installing, using GITHUB_PATH, running in an Ubuntu container (cause the runners are just containers), and attempting to add mojo to the normal PATH both ways (bash and zsh) it still gives the error mojo: command not found. What am I missing?
3 Replies
Balderdash
Balderdash14mo ago
Maybe you can try it without the export. Just echo 'key="value"' >> $GITHUB_PATH echo 'MODULAR_HOME="/home/runner/.modular"' >> $GITHUB_PATH echo 'PATH="/home/runner/.modular/pkg/packages.modular.com_mojo/bin:$PATH"' >> $GITHUB_PATH
Moosems / Three chickens
Do you want to me to try the code block or echo 'key="value"' >> $GITHUB_PATH Or both? Tried both individually and then together and all three variations failed :(. Oh flip I got it to work echo "/home/runner/.modular/pkg/packages.modular.com_mojo/bin" >> $GITHUB_PATH.
Balderdash
Balderdash14mo ago
Nice 👍
Want results from more Discord servers?
Add your server