{"id":17913069,"url":"https://github.com/endorama/asdf-parse-tool-versions","last_synced_at":"2025-03-23T22:35:30.528Z","repository":{"id":36972513,"uuid":"468800279","full_name":"endorama/asdf-parse-tool-versions","owner":"endorama","description":"Parse asdf.sh tool-versions file to reuse version information in GitHub Actions","archived":false,"fork":false,"pushed_at":"2024-09-23T05:32:25.000Z","size":1528,"stargazers_count":10,"open_issues_count":5,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-09-23T15:47:04.612Z","etag":null,"topics":["actions","asdf","github-actions","version-manager","versions"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/endorama.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-11T15:20:53.000Z","updated_at":"2024-09-06T09:41:53.000Z","dependencies_parsed_at":"2024-03-11T12:52:36.073Z","dependency_job_id":"d37a9024-4fa8-48f7-be98-43308bc9764e","html_url":"https://github.com/endorama/asdf-parse-tool-versions","commit_stats":{"total_commits":54,"total_committers":3,"mean_commits":18.0,"dds":"0.33333333333333337","last_synced_commit":"523b7f5282ab0e598cf298372c9bf3e76b9cd2e8"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endorama%2Fasdf-parse-tool-versions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endorama%2Fasdf-parse-tool-versions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endorama%2Fasdf-parse-tool-versions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endorama%2Fasdf-parse-tool-versions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/endorama","download_url":"https://codeload.github.com/endorama/asdf-parse-tool-versions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221923357,"owners_count":16902500,"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","github-actions","version-manager","versions"],"created_at":"2024-10-28T19:49:42.918Z","updated_at":"2024-10-28T19:49:43.533Z","avatar_url":"https://github.com/endorama.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://github.com/actions/typescript-action/actions\"\u003e\u003cimg alt=\"typescript-action status\" src=\"https://github.com/actions/typescript-action/workflows/build-test/badge.svg\"\u003e\u003c/a\u003e\n\n# asdf-parse-tool-versions\n\nParses asdf [.tool-versions](http://asdf-vm.com/manage/configuration.html#tool-versions) file extracting version information.\n\nReturns a JSON string as output with this format: \n\n```\n{\"golang\":\"1.12.5\",\"ruby\":\"2.7.0\"}\n```\n\nEach tool has it's own key where value is the value in the `.tool-versions` file.\n\nThe action also exports all versions as environment variables with the format `\u003ctool\u003e_VERSION` (i.e. `GOLANG_VERSION`).\n\n## Usage\n\n```yaml\n---\nname: run on master\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  nightly:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: gather versions\n        uses: endorama/asdf-parse-tool-versions@v1\n        id: versions\n\n      - name: install Go\n        uses: actions/setup-go@v1\n        with: \n          go-version: \"${{ env.GOLANG_VERSION }}\"\n\n      # OR using action output\n      - name: install Go\n        uses: actions/setup-go@v1\n        with: \n          go-version: ${{ fromJSON(steps.versions.outputs.tools).golang }}\n\n      # ...\n``` \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendorama%2Fasdf-parse-tool-versions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fendorama%2Fasdf-parse-tool-versions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendorama%2Fasdf-parse-tool-versions/lists"}