Build job will try to build the project using Docker container. This job will be triggered by any push action.
Binaries will be stored as artifacts to be shared with publish job
Publish job will be triggered only if new tag/release is created. The job will take binaries from previous job, compress them in a zip file and push the zip file to the release that triggered the action as new asset.
Adds badge in Readme file that shows build status for main branch.
Testing
-- Go to Settings -> Developer settings -> Personal Access Tokens and create a new personal token with public_repo permission:
-- Go to repo Settings, and add a new secret named PUBLIC_REPO_ACCESS_TOKEN and set its value to the token created in previous step.
-- Generate a new status badge from Actions page:
This should generate the needed svg file used in Readme File.
-- Go to Actions page and check that the Build pipeline has successfully ran:
-- Create a new tag (and choose the correct branch). This should triggered the publish job and you should see the zip within Assets section for that release
Note: the .uf2file generated by pico-sdk using the default config does not work for me. I guess I'm missing some flag/config. This needs to be checked. Building other projects using this approach works as expected though (e.g. PicoDVI)
Issue #32
Description
main
branch.Testing
-- Go to
Settings
->Developer settings
->Personal Access Tokens
and create a new personal token withpublic_repo
permission:-- Go to repo Settings, and add a new secret named
PUBLIC_REPO_ACCESS_TOKEN
and set its value to the token created in previous step.-- Generate a new status badge from
Actions
page:This should generate the needed svg file used in Readme File.
-- Go to Actions page and check that the
Build
pipeline has successfully ran:-- Create a new tag (and choose the correct branch). This should triggered the
publish
job and you should see the zip withinAssets
section for that releaseNote: the
.uf2
file generated by pico-sdk using the default config does not work for me. I guess I'm missing some flag/config. This needs to be checked. Building other projects using this approach works as expected though (e.g. PicoDVI)