{"id":50731007,"url":"https://github.com/vbem/setup-hcloud","last_synced_at":"2026-06-10T09:00:36.746Z","repository":{"id":351086182,"uuid":"1209479153","full_name":"vbem/setup-hcloud","owner":"vbem","description":"🌼 Setup Huawei Cloud KooCLI - `hcloud` CLI","archived":false,"fork":false,"pushed_at":"2026-05-05T06:38:23.000Z","size":19,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-05T08:28:07.682Z","etag":null,"topics":["cli","hcloud","huawei","huaweicloud","hw","koocli"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/setup-hcloud","language":null,"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/vbem.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-13T13:20:54.000Z","updated_at":"2026-05-05T06:35:04.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/vbem/setup-hcloud","commit_stats":null,"previous_names":["vbem/setup-hcloud"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/vbem/setup-hcloud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbem%2Fsetup-hcloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbem%2Fsetup-hcloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbem%2Fsetup-hcloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbem%2Fsetup-hcloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vbem","download_url":"https://codeload.github.com/vbem/setup-hcloud/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbem%2Fsetup-hcloud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34144680,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":["cli","hcloud","huawei","huaweicloud","hw","koocli"],"created_at":"2026-06-10T09:00:21.913Z","updated_at":"2026-06-10T09:00:36.738Z","avatar_url":"https://github.com/vbem.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌼 GitHub Action to Setup Huawei Cloud KooCLI - `hcloud` CLI\n\n[![🧪 Testing](https://github.com/vbem/setup-hcloud/actions/workflows/test.yml/badge.svg)](https://github.com/vbem/setup-hcloud/actions/workflows/test.yml)\n[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/vbem/setup-hcloud?label=Release\u0026logo=github)](https://github.com/vbem/setup-hcloud/releases)\n[![Marketplace](https://img.shields.io/badge/GitHub%20Actions-Marketplace-blue?logo=github)](https://github.com/marketplace/actions/setup-hcloud)\n\n## About\n\n[***KooCLI***](https://support.huaweicloud.com/hcli/index.html) is the official command-line tool for Huawei Cloud. Huawei Cloud previously provided a [simple installation action](https://github.com/huaweicloud/huaweicloud-cli-action), but that repository currently returns 404. This action provides an alternative way to install KooCLI in your workflows. It supports Linux, macOS, and Windows runners, and can download KooCLI binaries from an internal mirror when needed.\n\n## Example usage\n\n```yaml\n- name: Setup HW Cloud KooCLI\n  uses: vbem/setup-hcloud@main\n\n- name: Test KooCLI with Huawei Cloud STS\n  env:\n    HUAWEICLOUD_SDK_REGION: cn-north-4\n    HUAWEICLOUD_SDK_AK: ${{ secrets.HUAWEICLOUD_SDK_AK }}\n    HUAWEICLOUD_SDK_SK: ${{ secrets.HUAWEICLOUD_SDK_SK }}\n  run: |\n    hcloud sts GetCallerIdentity \\\n        --cli-region=\"${HUAWEICLOUD_SDK_REGION}\" \\\n        --cli-access-key=\"${HUAWEICLOUD_SDK_AK}\" \\\n        --cli-secret-key=\"${HUAWEICLOUD_SDK_SK}\" \\\n        | jq -C\n```\n\n## Inputs\n\nID | Type | Default | Description\n--- | --- | --- | ---\n`agree-privacy` | Boolean | `true` | Whether to accept the [privacy statement](https://support.huaweicloud.com/productdesc-hcli/hcli_024.html) during KooCLI installation.\n`check-version` | Boolean | `true` | Whether to check the [KooCLI version](https://support.huaweicloud.com/usermanual-hcli/hcli_04_004.html) after installation. Requires `agree-privacy` to be `true`.\n`base-url` | String | `https://cn-north-4-hdn-koocli.obs.cn-north-4.myhuaweicloud.com/cli/latest/` | Base URL for downloading the [official KooCLI binaries](https://support.huaweicloud.com/qs-hcli/hcli_02_003_02.html). Set this to an internal mirror if needed.\n\n## Outputs\n\nID | Type | Description | Example\n--- | --- | --- | ---\n`url` | String | The URL used to download the KooCLI binary. | `https://cn-north-4-hdn-koocli.obs.cn-north-4.myhuaweicloud.com/cli/latest/huaweicloud-cli-linux-amd64.tar.gz`\n`path` | String | The path to the KooCLI binary on the runner. | `/usr/local/bin/hcloud`\n`version` | String | The detected KooCLI version. | `Current KooCLI version: 7.2.2`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvbem%2Fsetup-hcloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvbem%2Fsetup-hcloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvbem%2Fsetup-hcloud/lists"}