{"id":35659295,"url":"https://github.com/buddy/setup","last_synced_at":"2026-01-13T23:43:35.349Z","repository":{"id":327975128,"uuid":"1113111110","full_name":"buddy/setup","owner":"buddy","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-06T08:24:49.000Z","size":249,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-13T19:51:38.575Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/buddy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-09T14:35:27.000Z","updated_at":"2026-01-06T08:19:25.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/buddy/setup","commit_stats":null,"previous_names":["buddy/setup"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/buddy/setup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buddy%2Fsetup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buddy%2Fsetup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buddy%2Fsetup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buddy%2Fsetup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buddy","download_url":"https://codeload.github.com/buddy/setup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buddy%2Fsetup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28405344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-05T16:14:14.214Z","updated_at":"2026-01-13T23:43:35.343Z","avatar_url":"https://github.com/buddy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Buddy Setup Action\n\nGitHub Action for installing BDY CLI for Buddy CI/CD platform.\n\n## Features\n\n- Automatically installs BDY CLI if not already installed\n- Fetches latest version from specified environment channel (prod/dev)\n- Supports multiple installation methods (download, APT, NPM)\n- Configurable version selection or auto-fetch latest\n- Skip installation if already installed\n\n## Usage\n\n### Basic Usage (Latest from prod)\n```yaml\n- name: Setup BDY CLI\n  uses: buddy/setup@v1\n```\n\n### Specify Environment Channel\n```yaml\n- name: Setup BDY CLI\n  uses: buddy/setup@v1\n  with:\n    env: 'dev'  # or 'prod' (default)\n```\n\n### Specify Exact Version\n```yaml\n- name: Setup BDY CLI\n  uses: buddy/setup@v1\n  with:\n    version: '1.16.4'\n    env: 'prod'\n```\n\n### All Options\n```yaml\n- name: Setup BDY CLI\n  uses: buddy/setup@v1\n  with:\n    # Environment channel (default: prod)\n    env: 'prod'\n\n    # Specific version (optional, fetches latest if not specified)\n    version: '1.16.4'\n\n    # Installation method: download, apt, or npm (default: download)\n    installation_method: 'download'\n\n    # Skip installation if BDY CLI is already installed (default: true)\n    skip_if_installed: 'true'\n```\n\n## Inputs\n\n| Input | Description | Required | Default |\n|-------|-------------|----------|---------|\n| `env` | Environment channel (`prod`, `dev`, etc.) | No | `prod` |\n| `version` | BDY CLI version to install. If not specified, fetches latest from the specified channel | No | Auto-fetched |\n| `installation_method` | Installation method (`download`, `apt`, or `npm`) | No | `download` |\n| `skip_if_installed` | Skip installation if BDY CLI is already installed | No | `true` |\n\n## Outputs\n\n| Output | Description |\n|--------|-------------|\n| `bdy_version` | The installed BDY CLI version |\n| `bdy_path` | Path to the BDY CLI binary |\n\n## Environment Variables\n\nThe action exports the following environment variables for use in subsequent steps:\n\n| Variable | Description |\n|----------|-------------|\n| `BDY_VERSION` | The installed BDY CLI version |\n| `BDY_PATH` | Path to the BDY CLI binary |\n\n**Example usage:**\n```yaml\n- name: Check installed version\n  run: echo \"Installed BDY CLI version: $BDY_VERSION\"\n```\n\n## Installation Methods\n\n### Platform Support\n\n| Platform | Architecture | Installation Methods |\n| -------- | ------------ | -------------------- |\n| Windows  | x64          | download, npm        |\n| macOS    | arm64        | download, npm        |\n| Linux    | x64, arm64   | apt, download, npm   |\n\n### Download (Default)\nDownloads the BDY CLI binary directly from the official repository and extracts it to `/usr/local/bin/`. Supports all environments and specific versions.\n\n```yaml\n- uses: buddy/setup@v1\n  with:\n    installation_method: 'download'\n    env: 'prod'\n    version: '1.16.4'  # optional\n```\n\n### APT\nInstalls BDY CLI using the APT package manager (Ubuntu/Debian). Uses the Buddy APT repository for the specified environment.\n\n```yaml\n- uses: buddy/setup@v1\n  with:\n    installation_method: 'apt'\n    env: 'prod'\n```\n\n### NPM\nInstalls BDY CLI using NPM. For `prod` environment, installs latest stable. For other environments, uses NPM dist-tags.\n\n```yaml\n- uses: buddy/setup@v1\n  with:\n    installation_method: 'npm'\n    env: 'dev'  # installs bdy@dev\n```\n\n## Example Workflows\n\n### Production Deployment\n```yaml\nname: Deploy with Buddy\n\non: [push, workflow_dispatch]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup BDY CLI\n        uses: buddy/setup@v1\n\n      - name: Verify installation\n        run: |\n          echo \"BDY CLI version: $BDY_VERSION\"\n          echo \"BDY CLI path: $BDY_PATH\"\n\n      - name: Login to Buddy\n        uses: buddy/login@v1\n        with:\n          token: ${{ secrets.BUDDY_TOKEN }}\n\n      - name: Run deployment\n        run: bdy deploy\n```\n\n### Development Testing\n```yaml\nname: Test with Dev CLI\n\non: [pull_request, workflow_dispatch]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup BDY CLI (dev channel)\n        uses: buddy/setup@v1\n        with:\n          env: 'dev'\n\n      - name: Run tests\n        run: bdy test\n```\n\n## License\n\nMIT License - see [LICENSE.md](LICENSE.md) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuddy%2Fsetup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuddy%2Fsetup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuddy%2Fsetup/lists"}