{"id":13602274,"url":"https://github.com/giantswarm/install-binary-action","last_synced_at":"2025-04-11T08:31:56.106Z","repository":{"id":36977658,"uuid":"305650801","full_name":"giantswarm/install-binary-action","owner":"giantswarm","description":"GitHub action installing a binary from a tarball behind URL","archived":false,"fork":false,"pushed_at":"2025-03-24T10:56:26.000Z","size":6476,"stargazers_count":12,"open_issues_count":2,"forks_count":7,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-04T03:02:46.858Z","etag":null,"topics":["github-action","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/giantswarm.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":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-20T09:06:29.000Z","updated_at":"2025-03-24T10:56:29.000Z","dependencies_parsed_at":"2023-01-17T11:16:12.654Z","dependency_job_id":"5fca49e1-5ae8-4557-9f2c-fde17b6b1945","html_url":"https://github.com/giantswarm/install-binary-action","commit_stats":{"total_commits":103,"total_committers":10,"mean_commits":10.3,"dds":0.5922330097087378,"last_synced_commit":"e77ae70d4b2224110671fc0e81389c180290fdb9"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giantswarm%2Finstall-binary-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giantswarm%2Finstall-binary-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giantswarm%2Finstall-binary-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giantswarm%2Finstall-binary-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giantswarm","download_url":"https://codeload.github.com/giantswarm/install-binary-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248361583,"owners_count":21090936,"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":["github-action","github-actions"],"created_at":"2024-08-01T18:01:18.590Z","updated_at":"2025-04-11T08:31:55.570Z","avatar_url":"https://github.com/giantswarm.png","language":"JavaScript","readme":"# install-binary-action\n\nThis action installs a binary packed into a .tar.gz archive from a given URL.\n\n## Inputs\n\nTo check all the inputs and their defaults see [action.yml](action.yml) file.\n\n### `binary`\n\n**Required.** Name of the binary to be installed.\n\n### `version`\n\n**Required.** Version of the binary to be installed.\n\n### `download_url`\n\n**Optional.** Archive download URL. Can be in template format. Templated\nvariables are `${binary}` and `${version}`. If the URL has to extension then no\nunarchiving will happen.\n\n### `tarball_binary_path`\n\n**Optional.** Binary path in the downloaded archive. Can contain wildcards. Can\nbe in template format. Templated variables are `${binary}` and `${version}`.\n\n### `smoke_test`\n\n**Optional.** Smoke test to run after the binary is installed. Can be in\ntemplate format. Templated variables are `${binary}` and `${version}`.\n\n## `binary_new_name`\n\n**Optional.** Name of the binary once is uncompressed and installed in the selected directory.\n\n## Outputs\n\nThis action doesn't have any outputs.\n\n## Example usage\n\nDownloading a Giant Swarm binary with optional inputs left with default values:\n\n```yaml\n- name: Test downloading Giant Swarm binary\n  uses: giantswarm/install-binary-action@VERSION\n  with:\n    binary: \"devctl\"\n    version: \"2.0.0\"\n```\n\nDownloading an external binary with all optional inputs set except `binary_new_name` :\n\n```yaml\n- name: Test downloading external binary\n  uses: giantswarm/install-binary-action@VERSION\n  with:\n    binary: \"semver\"\n    version: \"3.0.0\"\n    download_url: \"https://github.com/fsaintjacques/${binary}-tool/archive/${version}.tar.gz\"\n    tarball_binary_path: \"*/src/${binary}\"\n    smoke_test: \"${binary} --version\"\n```\n\nDownloading an external binary with all optional inputs including `binary_new_name` :\n\n```yaml\n- name: Test downloading aws-nuke with binary new name\n  uses: ./\n  with:\n    binary: \"aws-nuke\"\n    version: \"v2.25.0\"\n    download_url: \"https://github.com/rebuy-de/aws-nuke/releases/download/${version}/aws-nuke-${version}-linux-amd64.tar.gz\"\n    tarball_binary_path: \"aws-nuke-${version}-linux-amd64\"\n    smoke_test: \"${binary} version\"\n    binary_new_name: \"aws-nuke\"\n```\n\nDownloading an unarchived binary:\n\n```yaml\n- name: Test downloading external unarchived binary\n  uses: ./\n  with:\n    binary: \"vendir\"\n    version: \"0.40.2\"\n    download_url: \"https://github.com/carvel-dev/vendir/releases/download/v${version}/vendir-linux-amd64\"\n    smoke_test: \"${binary} --version\"\n```\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiantswarm%2Finstall-binary-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiantswarm%2Finstall-binary-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiantswarm%2Finstall-binary-action/lists"}