{"id":15991189,"url":"https://github.com/friendlyanon/fetch-core-count","last_synced_at":"2025-08-26T07:10:31.075Z","repository":{"id":68574182,"uuid":"299133560","full_name":"friendlyanon/fetch-core-count","owner":"friendlyanon","description":"Make the logical CPU core count available in jobs","archived":false,"fork":false,"pushed_at":"2020-09-27T22:53:02.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-21T23:26:12.504Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/friendlyanon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2020-09-27T22:50:56.000Z","updated_at":"2020-09-27T22:53:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"b3a3aa1b-4651-4597-a86f-fb82964ac4cd","html_url":"https://github.com/friendlyanon/fetch-core-count","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/friendlyanon/fetch-core-count","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friendlyanon%2Ffetch-core-count","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friendlyanon%2Ffetch-core-count/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friendlyanon%2Ffetch-core-count/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friendlyanon%2Ffetch-core-count/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/friendlyanon","download_url":"https://codeload.github.com/friendlyanon/fetch-core-count/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friendlyanon%2Ffetch-core-count/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272187319,"owners_count":24888556,"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","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-08T05:42:38.724Z","updated_at":"2025-08-26T07:10:31.044Z","avatar_url":"https://github.com/friendlyanon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fetch CPU core count [![CI build][1]][2]\n\nThis is a GitHub action that makes the logical CPU core count on the action\nrunner available for jobs.\n\n## Outputs\n\n### `count`\n\nLogical core count.  \nThis is not the same as physical core count.\n\n### `plus_one`\n\n`count` plus one.\n\n### `plus_two`\n\n`count` plus two.\n\n## Example usage\n\n    - uses: friendlyanon/fetch-core-count@v1\n      id: cores\n    \n    - name: Run CMake with optimal job count\n      run: cmake --build build -j ${{ steps.cores.outputs.plus_one }}\n\n# License\n[MIT License](LICENSE)\n\n[1]: https://github.com/friendlyanon/fetch-core-count/workflows/CI/badge.svg\n[2]: https://github.com/friendlyanon/fetch-core-count/actions?query=workflow%3ACI+branch%3Amaster\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriendlyanon%2Ffetch-core-count","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffriendlyanon%2Ffetch-core-count","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriendlyanon%2Ffetch-core-count/lists"}