Closed DanTheMan827 closed 2 years ago
Where does it upload them to/how do you get them?
Because they are already all uploaded to https://www.espruino.com/binaries/travis/ / https://www.espruino.com/binaries/travis/master
@gfwilliams it attaches them to the github action run.
Example from my fork: https://github.com/DanTheMan827/Espruino/actions/runs/2849321887
You don't have to if you don't want, but I figured it's just another source for them
Great - thanks! Yes, that looks neat.
Maybe I'll have to re-evaluate if GitHub starts charging for storage somehow, but until then this seems like a neat thing to have. Also for anyone wanting to clone, make a change and have it built for them
@gfwilliams you may want to change the action to run on all branches along with a check for ci_upload.sh
to only run when on master if you want to filter to commits on that, there seem to be a number of environment variables you can check, or you could just check the if the commit is in master with the script itself using the git cli.
Ideally, someone forking to make changes would also make a branch for those changes rather than work on their master, and the action wouldn't run for them.
Since you already had an action, I modified it to also upload the build artifacts as well.