{"id":19413010,"url":"https://github.com/buildless/setup","last_synced_at":"2025-04-24T11:31:36.753Z","repository":{"id":210160293,"uuid":"725810832","full_name":"buildless/setup","owner":"buildless","description":"Github Action for lightning-fast build caching with Buildless","archived":false,"fork":false,"pushed_at":"2024-04-22T20:53:48.000Z","size":3237,"stargazers_count":6,"open_issues_count":10,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-22T21:48:30.466Z","etag":null,"topics":["build-acceleration","build-cache","build-cache-agent","buildcache","github-actions","github-actions-cache","remote-build-cache"],"latest_commit_sha":null,"homepage":"https://less.build","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/buildless.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-11-30T23:22:01.000Z","updated_at":"2023-12-09T01:26:57.000Z","dependencies_parsed_at":"2024-04-22T21:57:25.676Z","dependency_job_id":null,"html_url":"https://github.com/buildless/setup","commit_stats":null,"previous_names":["buildless/setup-buildless","buildless/setup"],"tags_count":3,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildless%2Fsetup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildless%2Fsetup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildless%2Fsetup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildless%2Fsetup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buildless","download_url":"https://codeload.github.com/buildless/setup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223952426,"owners_count":17230879,"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":["build-acceleration","build-cache","build-cache-agent","buildcache","github-actions","github-actions-cache","remote-build-cache"],"created_at":"2024-11-10T12:29:59.447Z","updated_at":"2024-11-10T12:30:00.045Z","avatar_url":"https://github.com/buildless.png","language":"TypeScript","readme":"\n# GitHub Action: Setup Buildless\n\n![Latest Release](https://img.shields.io/github/v/release/buildless/setup)\n[![CI](https://github.com/buildless/setup-buildless/actions/workflows/ci.yml/badge.svg)](https://github.com/buildless/setup-buildless/actions/workflows/ci.yml)\n[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=buildless_setup\u0026metric=security_rating)](https://sonarcloud.io/summary/new_code?id=buildless_setup)\n[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=buildless_setup\u0026metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=buildless_setup)\n\nThis repository provides a [GitHub Action][0] to setup [Buildless][1] within your workflows. Supported features:\n\n- **Buildless CLI:** Install and authorize the Buildless CLI\n- **Buildless Agent:** Install and run the near-caching Buildless Agent\n\n## Usage\n\n\u003e [Full documentation here](https://docs.less.build/docs/github-actions)\n\n**Install the latest Buildless CLI, add it to the `PATH`, and run the agent**\n```yaml\n  - name: \"Setup: Buildless\"\n    uses: buildless/setup@v1.0.2\n```\n\n**Install the latest Buildless CLI, add it to the `PATH`, without the agent:**\n```yaml\n  - name: \"Setup: Buildless\"\n    uses: buildless/setup@v1.0.2\n    with:\n      agent: false  # you really should use the agent tho\n```\n\n## Authorization\n\nThe CLI and Agent will both **automatically use `BUILDLESS_APIKEY`**, if present, to authorize cache traffic and cloud backhaul.\nIf no authorization material is present, only local caching is enabled.\n\nSign up for a [Buildless Cloud][1] account to obtain an API key. It's free to start.\n\n## Options\n\nThe full suite of available options are below.\n\n| Option        | Type         | Default                        | Description                                  |\n| ------------- | ------------ | ------------------------------ | -------------------------------------------- |\n| `version`     | `string`     | `latest`                       | Version to install; defaults to `latest`     |\n| `os`          | `string`     | (Current)                      | OS to target; defaults to current platform   |\n| `arch`        | `string`     | (Current)                      | Arch to target; defaults to current platform |\n| `agent`       | `boolean`    | `true`                         | Install and start the Buildless Agent        |\n| `apikey`      | `string`     | `${{ env.BUILDLESS_APIKEY }}`  | Explicitly set an API key                    |\n| `token`       | `string`     | `${{ env.GITHUB_TOKEN }}`      | GitHub token to use for fetching assets      |\n| `export_path` | `boolean`    | `true`                         | Whether to install Buildless onto the `PATH` |\n\n**Options for `os`** (support varies)\n- `darwin`, `mac`, `macos`\n- `windows`, `win32`\n- `linux`\n\n**Options for `arch`** (support varies)\n- `amd64`, `x64`, `x86_64`\n- `arm64`, `aarch64`\n\n**Full configuration sample with defaults**\n```yaml\n  - name: \"Setup: Buildless\"\n    uses: buildless/setup@v1\n    with:\n      version: latest\n      os: linux\n      arch: amd64\n      agent: true\n      apikey: ${{ env.BUILDLESS_API_KEY || secrets.BUILDLESS_API_KEY }}\n      token: ${{ env.GITHUB_TOKEN }}\n      export_path: true\n```\n\n## What is Buildless?\n\n[Buildless][0] is a build caching system which works with most build tools. If you have a build tool that supports remote caching, Buildless can\nprobably plug right in, and it makes development fast and fun.\n\nSupported language ecosystems and toolchains include:\n\n- **Gradle, Maven, JVM** (Kotlin, Java, Groovy, Scala, et al)\n- **Bazel** (supports gRPC build cache APIs)\n- **C, C++, Swift, Rust, etc** (C-like toolchains, via tools like `sccache`)\n- **JavaScript, TypeScript, CSS, etc** (with tools like `turborepo`)\n\n[0]: https://github.com/features/actions\n[1]: https://less.build\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildless%2Fsetup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuildless%2Fsetup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildless%2Fsetup/lists"}