{"id":22423317,"url":"https://github.com/prantlf/install-release-action","last_synced_at":"2025-07-12T13:08:12.116Z","repository":{"id":202791707,"uuid":"708146254","full_name":"prantlf/install-release-action","owner":"prantlf","description":"GitHub action for downloading, extracting, caching an executable from a GitHub release and putting it to PATH.","archived":false,"fork":false,"pushed_at":"2024-08-11T16:52:24.000Z","size":978,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-16T10:11:19.659Z","etag":null,"topics":["actions","github","github-actions","install","release","tool","v","vlang"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/install-released-tool","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/prantlf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2023-10-21T16:57:29.000Z","updated_at":"2024-08-11T16:51:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"6647525c-e7f5-4f79-911d-182d76dd8bfe","html_url":"https://github.com/prantlf/install-release-action","commit_stats":null,"previous_names":["prantlf/download-tool-action"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/prantlf/install-release-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Finstall-release-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Finstall-release-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Finstall-release-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Finstall-release-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prantlf","download_url":"https://codeload.github.com/prantlf/install-release-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Finstall-release-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264995613,"owners_count":23694995,"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","github","github-actions","install","release","tool","v","vlang"],"created_at":"2024-12-05T18:09:59.042Z","updated_at":"2025-07-12T13:08:12.093Z","avatar_url":"https://github.com/prantlf.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Install Released Tool\n\n[![Latest version](https://img.shields.io/npm/v/install-release-action) ![Dependency status](https://img.shields.io/librariesio/release/npm/install-release-action)](https://www.npmjs.com/package/install-release-action)\n\nGitHub action for downloading, extracting, caching an executable from a GitHub release and putting it to PATH.\n\n* Simple syntax with defaults according to the best performance and practices.\n* Convenient version specification - `latest` or `X.Y.Z` or any [semantic version specification].\n* An already unpacked version is cached to speed up the build pipeline.\n* GitHub workflow token is used by default.\n\n## Usage\n\nInstall jsonlint from the most recent release:\n\n```yml\n- uses: prantlf/install-release-action@v1\n  with:\n    repo: prantlf/v-jsonlint\n```\n\nInstall jsonlint from the compatible patch release recent release:\n\n```yml\n- uses: prantlf/install-release-action@v1\n  with:\n    repo: prantlf/v-jsonlint\n    version: ~0.0.1\n```\n\nThe archive with the executable is expected to be:\n\n    {name}-{platform}-{architecture}.zip\n\nwhere:\n\n* `{name}` is the name of the tool (executable)\n* `{platform}` is the name of the target platform: `linux`, `macos` or `windows`\n* `{architecture}` is the name of the target architecture: `aarch64` or `arm64` (64-bit ARM), `riscv64` (RISC-V), `amd64`, `x86_64`, `x64` (64-bit AMD) or `x86` (32-bit Intel)\n\n## Inputs\n\nThe following parameters can be specified using the `with` object:\n\n### repo\n\nType: `String`\u003cbr\u003e\n\nSpecify the repository in the form `owner/name` to download the archive with the executable from. Mandatory.\n\n### version\n\nType: `String`\u003cbr\u003e\nDefault: `latest`\n\nSpecify the version of the executable to download and extract. It can be `latest` (the latest published semantic version), or a semantic version number, plain or in the form of a git tag (usually `vX.Y.Z`, but sometimes only `X.Y.Z`), or any [semantic version specification].\n\n### name\n\nType: `String`\u003cbr\u003e\nDefault: (inferred from platform archives)\n\nSpecify the name prefix of the archive to download and the name of the the executable to extract from it. If not specified, the first archive named `{name}-{platform}-{architecture}.zip` will be picked and the prefix `name` will be used.\n\n### platforms\n\nType: `Map{String, String[]}`\u003cbr\u003e\nDefault:\n\n    darwin:macos\n    linux:\n    win32:windows\n\nA map where keys are Node.js platforms and values are their aliases which will be recognised in names of the installation archives. The Node.js platform name itself doesn't have to be included in the aliases. This input is a multi-line string, where each line is a map entry. The kay is separated from the value by colon (:). Aliases are separated by commas (,).\n\n### architectures\n\nType: `Map{String, String[]}`\u003cbr\u003e\nDefault:\n\n      arm64:aarch64\n      riscv64:\n      x64:amd64,x86_64,x86\n\nA map where keys are Node.js architectures and values are their aliases which will be recognised in names of the installation archives. The Node.js architectures name itself doesn't have to be included in the aliases. This input is a multi-line string, where each line is a map entry. The kay is separated from the value by colon (:). Aliases are separated by commas (,).\n\n### use-cache\n\nType: `Boolean`\u003cbr\u003e\nDefault: `true`\n\nSet to `false` to ignore the cache and always perform the full installation by downloading and unpacking a binary.\n\n### token\n\nType: `String`\u003cbr\u003e\nDefault: `${{ github.token }}`\n\nAuthorization token to inspect releases and commits in the `{repo}` repository. Either a GitHub personal access token or the GitHub workflow token. If not provided, the environment variable `GITHUB_TOKEN` will be used as a fallback. And if even that is not set, the GitHub workflow token from the action-execution context will be used as default.\n\n## Outputs\n\nThe following parameters can be accessed by the `github` context:\n\n### version\n\nType: `String`\u003cbr\u003e\n\nThe actually installed version of the executable, as returned by `{executable} -V`., for example: `1.0.0`.\n\n### bin-path\n\nType: `String`\u003cbr\u003e\n\nThe complete path to the directory with the extracted.\n\n### exe-path\n\nType: `String`\u003cbr\u003e\n\nThe complete path to the extracted executable.\n\n### used-cache\n\nType: `Boolean`\u003cbr\u003e\n\nA boolean value indicating if the installation succeeded from the cache.\n\n## License\n\nCopyright (C) 2023-2024 Ferdinand Prantl\n\nLicensed under the [MIT License].\n\n[MIT License]: http://en.wikipedia.org/wiki/MIT_License\n[semantic version specification]: https://semver.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprantlf%2Finstall-release-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprantlf%2Finstall-release-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprantlf%2Finstall-release-action/lists"}