{"id":17128005,"url":"https://github.com/marocchino/tool-versions-action","last_synced_at":"2025-08-22T00:32:06.108Z","repository":{"id":40301704,"uuid":"218887316","full_name":"marocchino/tool-versions-action","owner":"marocchino","description":"output version numbers with .tool-versions file.","archived":false,"fork":false,"pushed_at":"2024-12-02T17:23:21.000Z","size":882,"stargazers_count":17,"open_issues_count":2,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-15T04:33:54.015Z","etag":null,"topics":["actions","asdf","asdf-vm","github-actions"],"latest_commit_sha":null,"homepage":"","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/marocchino.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":"2019-11-01T01:01:30.000Z","updated_at":"2024-11-13T19:56:32.000Z","dependencies_parsed_at":"2024-02-06T09:26:32.476Z","dependency_job_id":"7538f482-dd7d-4064-89da-5c3a93e86646","html_url":"https://github.com/marocchino/tool-versions-action","commit_stats":{"total_commits":90,"total_committers":8,"mean_commits":11.25,"dds":"0.21111111111111114","last_synced_commit":"1973dfd130c90f0a67fd309fcd8248ba390ef08a"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":"actions/javascript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marocchino%2Ftool-versions-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marocchino%2Ftool-versions-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marocchino%2Ftool-versions-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marocchino%2Ftool-versions-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marocchino","download_url":"https://codeload.github.com/marocchino/tool-versions-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230542288,"owners_count":18242332,"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":["actions","asdf","asdf-vm","github-actions"],"created_at":"2024-10-14T19:06:00.796Z","updated_at":"2024-12-20T06:07:03.992Z","avatar_url":"https://github.com/marocchino.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/marocchino/tool-versions-action\"\u003e\u003cimg alt=\"GitHub Actions status\" src=\"https://github.com/marocchino/tool-versions-action/workflows/test-local/badge.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Usage\n\n### Pre-requisites\n\nCreate a workflow `.yml` file in your repositories `.github/workflows` directory. An [example workflow](#example-workflow) is available below. For more information, reference the GitHub Help Documentation for [Creating a workflow file](https://help.github.com/en/articles/configuring-a-workflow#creating-a-workflow-file).\n\n### Inputs\n\n- `path` - path of .tool-versions file, `.tool-versions` by default\n\n### Outputs\n\nBasically, It could be any values depending on your `.tool-versions`.\nYou can find full asdf plugins list on [here](https://github.com/asdf-vm/asdf-plugins).\n\n### Example workflow\n\n```yaml\nname: Get version info from tool-versions\n\non: push\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - name: Read .tool-versions\n        uses: marocchino/tool-versions-action@v1\n        id: versions\n      - name: Use Node.js ${{ steps.versions.outputs.nodejs }}\n        uses: actions/setup-node@v3\n        with:\n          node-version: ${{ steps.versions.outputs.nodejs }}\n      - name: Setup Hugo\n        uses: peaceiris/actions-hugo@v3\n        with:\n          hugo-version: ${{ fromJSON(steps.versions.outputs.hugo).version }}\n          extended: ${{ fromJSON(steps.versions.outputs.hugo).is_extended }}\n```\n\n## License\n\nThe scripts and documentation in this project are released under the [MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarocchino%2Ftool-versions-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarocchino%2Ftool-versions-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarocchino%2Ftool-versions-action/lists"}