{"id":14985937,"url":"https://github.com/samyarsadat/pico-build-action","last_synced_at":"2025-04-11T22:12:04.456Z","repository":{"id":244278512,"uuid":"814787520","full_name":"samyarsadat/Pico-Build-Action","owner":"samyarsadat","description":"GitHub Action for building Raspberry Pi Pico C/C++ code.","archived":false,"fork":false,"pushed_at":"2025-03-30T18:51:15.000Z","size":373,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T22:11:58.317Z","etag":null,"topics":["action","ci","cmake","github-actions","pico","pico2","raspberry-pi","raspberry-pi-pico"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samyarsadat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":null},"created_at":"2024-06-13T17:49:52.000Z","updated_at":"2025-03-30T18:55:02.000Z","dependencies_parsed_at":"2024-09-25T00:31:01.808Z","dependency_job_id":null,"html_url":"https://github.com/samyarsadat/Pico-Build-Action","commit_stats":{"total_commits":20,"total_committers":1,"mean_commits":20.0,"dds":0.0,"last_synced_commit":"40c41d30285aedd8be98cd4afcf6c87a53a4a182"},"previous_names":["samyarsadat/pico-build-action"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samyarsadat%2FPico-Build-Action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samyarsadat%2FPico-Build-Action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samyarsadat%2FPico-Build-Action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samyarsadat%2FPico-Build-Action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samyarsadat","download_url":"https://codeload.github.com/samyarsadat/Pico-Build-Action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248487689,"owners_count":21112190,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["action","ci","cmake","github-actions","pico","pico2","raspberry-pi","raspberry-pi-pico"],"created_at":"2024-09-24T14:11:58.719Z","updated_at":"2025-04-11T22:12:04.448Z","avatar_url":"https://github.com/samyarsadat.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003ePico Build Action\u003c/h1\u003e\n\n![banner](.github/images/logo_dark.png#gh-dark-mode-only)\n![banner](.github/images/logo_light.png#gh-light-mode-only)\n\n\u003cp align='center'\u003e\n    \u003ca href='https://github.com/samyarsadat/Pico-Build-Action/blob/main/LICENSE'\u003e\u003cimg src='https://img.shields.io/github/license/samyarsadat/Pico-Build-Action'\u003e\u003c/a\u003e\n    |\n    \u003ca href='https://github.com/samyarsadat/Pico-Build-Action/issues'\u003e\u003cimg src='https://img.shields.io/github/issues/samyarsadat/Pico-Build-Action'\u003e\u003c/a\u003e\n    |\n    \u003ca href='https://github.com/samyarsadat/Pico-Build-Action/actions/workflows/test-action.yml'\u003e\u003cimg src='https://github.com/samyarsadat/Pico-Build-Action/actions/workflows/test-action.yml/badge.svg'\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\u003cbr\u003e\n\n----\nThis is a GitHub Action for building Raspberry Pi Pico C/C++ code.\u003cbr\u003e\nThis is a Docker container action.\n\u003cbr\u003e\u003cbr\u003e\n\n\n## Inputs\n| Name                  | Description                                                                                                                                                      | Required | Default                      |\n| --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ---------------------------- |\n| `source_dir`          | _Source code directory. The `CMakeLists.txt` file should be here._                                                                                               | Yes      | `\"src\"`                      |\n| `output_dir`          | _Output directory for build artifacts. This path is relative to the source directory._                                                                           | No       | `\"build\"`                    |\n| `output_ext`          | _A space-separated list of output binary file extensions. There must be a '*' before each extension._                                                            | No       | `\"*.uf2 *.elf *.elf.map\"`    |\n| `cmake_args`          | _Additional arguments to pass to CMake._                                                                                                                         | No       | `\"\"`                         |\n| `output_ignored_dirs` | _A space-separated list of directories to ignore when copying binary build artifacts. `CMakeFiles`, `pico-sdk`, `pioasm`, and `elf2uf2` are ignored regardless._ | No       | `\"\"`                         |\n| `cmake_config_only`   | _Only configure CMake and generate build files. Do not build the project._                                                                                       | No       | `\"false\"`                    |\n| `makefiles_generator` | _CMake generator to use for generating build files._                                                                                                             | No       | `\"Unix Makefiles\"`           |\n\u003cbr\u003e\n\n## Outputs\n| Name              | Description                                                   |\n| ----------------- | ------------------------------------------------------------- |\n| `output_dir`      | _Relative path to output directory for build artifacts._      |\n\u003cbr\u003e\n\n## Example usage\n```YAML\njobs:\n    test_build:\n        name: Build example blink program\n        runs-on: ubuntu-latest\n        permissions:\n            contents: read\n\n        steps:\n            - name: Checkout\n              uses: actions/checkout@v4\n\n            - name: Build Blink Example\n              id: build\n              uses: samyarsadat/Pico-Build-Action@v1\n              with:\n                  source_dir: \"test_program\"\n                  cmake_args: \"-DCMAKE_BUILD_TYPE=Debug\"\n\n            - name: Upload Build Artifacts\n              uses: actions/upload-artifact@v4\n              with:\n                  name: workspace_artifacts\n                  path: ${{steps.build.outputs.output_dir}}\n```\n\u003cbr\u003e\u003cbr\u003e\n\n\n## Contact\nYou can contact me via e-mail.\u003cbr\u003e\nE-mail: samyarsadat@gigawhat.net\n\u003cbr\u003e\u003cbr\u003e\nIf you think that you have found a bug or issue please report it \u003ca href='https://github.com/samyarsadat/Pico-Build-Action/issues'\u003ehere\u003c/a\u003e.\n\u003cbr\u003e\u003cbr\u003e\n\n\n## Contributing\nPlease take a look at \u003ca href='https://github.com/samyarsadat/Pico-Build-Action/blob/main/CONTRIBUTING.md'\u003eCONTRIBUTING.md\u003c/a\u003e for contributing.\n\u003cbr\u003e\u003cbr\u003e\n\n\n## Credits\n|      Role      |                               Name                               |\n|----------------|------------------------------------------------------------------|\n| Lead Developer | \u003ca href='https://github.com/samyarsadat'\u003eSamyar Sadat Akhavi\u003c/a\u003e |\n\n\u003cbr\u003e\u003cbr\u003e\n\n\nCopyright © 2024-2025 Samyar Sadat Akhavi.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamyarsadat%2Fpico-build-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamyarsadat%2Fpico-build-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamyarsadat%2Fpico-build-action/lists"}