{"id":14961813,"url":"https://github.com/arduino/setup-protoc","last_synced_at":"2025-04-04T08:05:31.267Z","repository":{"id":36184968,"uuid":"216797458","full_name":"arduino/setup-protoc","owner":"arduino","description":"GitHub Action to setup the protoc compiler for protocol buffers","archived":false,"fork":false,"pushed_at":"2024-09-03T20:27:46.000Z","size":1824,"stargazers_count":144,"open_issues_count":8,"forks_count":60,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-23T05:32:04.876Z","etag":null,"topics":["arduino","github-actions","protobuf","protoc","protocol-buffers","tooling-team"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/arduino.png","metadata":{"funding":{"github":["arduino"],"custom":"https://www.arduino.cc/en/Main/Donate"},"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"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}},"created_at":"2019-10-22T11:30:34.000Z","updated_at":"2025-03-07T06:39:38.000Z","dependencies_parsed_at":"2024-03-20T15:30:39.957Z","dependency_job_id":"21fdaf1f-b2c6-4086-909a-593394f3e56a","html_url":"https://github.com/arduino/setup-protoc","commit_stats":{"total_commits":88,"total_committers":13,"mean_commits":6.769230769230769,"dds":0.6477272727272727,"last_synced_commit":"3ea1d70ac22caff0b66ed6cb37d5b7aadebd4623"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arduino%2Fsetup-protoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arduino%2Fsetup-protoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arduino%2Fsetup-protoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arduino%2Fsetup-protoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arduino","download_url":"https://codeload.github.com/arduino/setup-protoc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245735811,"owners_count":20663804,"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":["arduino","github-actions","protobuf","protoc","protocol-buffers","tooling-team"],"created_at":"2024-09-24T13:27:48.910Z","updated_at":"2025-03-28T07:02:45.195Z","avatar_url":"https://github.com/arduino.png","language":"TypeScript","funding_links":["https://github.com/sponsors/arduino","https://www.arduino.cc/en/Main/Donate"],"categories":["TypeScript"],"sub_categories":[],"readme":"# setup-protoc\n\n[![Check npm Dependencies status](https://github.com/arduino/setup-protoc/actions/workflows/check-npm-dependencies-task.yml/badge.svg)](https://github.com/arduino/setup-protoc/actions/workflows/check-npm-dependencies-task.yml)\n![test](https://github.com/arduino/setup-protoc/workflows/test/badge.svg)\n[![Sync Labels status](https://github.com/arduino/setup-protoc/actions/workflows/sync-labels-npm.yml/badge.svg)](https://github.com/arduino/setup-protoc/actions/workflows/sync-labels-npm.yml)\n[![Check Markdown status](https://github.com/arduino/setup-protoc/actions/workflows/check-markdown-task.yml/badge.svg)](https://github.com/arduino/setup-protoc/actions/workflows/check-markdown-task.yml)\n[![Check License status](https://github.com/arduino/setup-protoc/actions/workflows/check-license.yml/badge.svg)](https://github.com/arduino/setup-protoc/actions/workflows/check-license.yml)\n[![Check Taskfiles status](https://github.com/arduino/setup-protoc/actions/workflows/check-taskfiles.yml/badge.svg)](https://github.com/arduino/setup-protoc/actions/workflows/check-taskfiles.yml)\n[![Integration Tests status](https://github.com/arduino/setup-protoc/actions/workflows/test-integration.yml/badge.svg)](https://github.com/arduino/setup-protoc/actions/workflows/test-integration.yml)\n[![Check npm status](https://github.com/arduino/setup-protoc/actions/workflows/check-npm-task.yml/badge.svg)](https://github.com/arduino/setup-protoc/actions/workflows/check-npm-task.yml)\n[![Check TypeScript status](https://github.com/arduino/setup-protoc/actions/workflows/check-typescript-task.yml/badge.svg)](https://github.com/arduino/setup-protoc/actions/workflows/check-typescript-task.yml)\n[![Check tsconfig status](https://github.com/arduino/setup-protoc/actions/workflows/check-tsconfig-task.yml/badge.svg)](https://github.com/arduino/setup-protoc/actions/workflows/check-tsconfig-task.yml)\n[![Check Packaging status](https://github.com/arduino/setup-protoc/actions/workflows/check-packaging-ncc-typescript-task.yml/badge.svg)](https://github.com/arduino/setup-protoc/actions/workflows/check-packaging-ncc-typescript-task.yml)\n\nThis action makes the `protoc` compiler available to Workflows.\n\n## Upgrade from v1 to v2 or v3\n\nAdded support **only** for the new protobuf tag naming convention `MINOR.PATCH`.\n\n## Usage\n\nTo get the latest stable version of `protoc` just add this step:\n\n```yaml\n- name: Install Protoc\n  uses: arduino/setup-protoc@v3\n```\n\nIf you want to pin a major or minor version you can use the `.x` wildcard:\n\n```yaml\n- name: Install Protoc\n  uses: arduino/setup-protoc@v3\n  with:\n    version: \"23.x\"\n```\n\nYou can also require to include releases marked as `pre-release` in Github using the `include-pre-releases` flag (the dafault value for this flag is `false`)\n\n```yaml\n- name: Install Protoc\n  uses: arduino/setup-protoc@v3\n  with:\n    version: \"23.x\"\n    include-pre-releases: true\n```\n\nTo pin the exact version:\n\n```yaml\n- name: Install Protoc\n  uses: arduino/setup-protoc@v3\n  with:\n    version: \"23.2\"\n```\n\nThe action queries the GitHub API to fetch releases data, to avoid rate limiting,\npass the default token with the `repo-token` variable:\n\n```yaml\n- name: Install Protoc\n  uses: arduino/setup-protoc@v3\n  with:\n    repo-token: ${{ secrets.GITHUB_TOKEN }}\n```\n\n## Enable verbose logging for a pipeline\n\nAdditional log events with the prefix ::debug:: can be enabled by setting the secret `ACTIONS_STEP_DEBUG` to `true`.\n\nSee [step-debug-logs](https://github.com/actions/toolkit/blob/master/docs/action-debugging.md#step-debug-logs) for reference.\n\n## Security\n\nIf you think you found a vulnerability or other security-related bug in this project, please read our\n[security policy](https://github.com/arduino/setup-protoc/security/policy) and report the bug to our Security Team 🛡️\nThank you!\n\ne-mail contact: security@arduino.cc\n\n## Contributing\n\nTo report bugs or make feature requests, please submit an issue: https://github.com/arduino/setup-protoc/issues\n\nPull requests are welcome! Please see the [contribution guidelines](.github/CONTRIBUTING.md) for information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farduino%2Fsetup-protoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farduino%2Fsetup-protoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farduino%2Fsetup-protoc/lists"}