{"id":25877200,"url":"https://github.com/ai-action/setup-ollama","last_synced_at":"2026-04-29T06:01:22.042Z","repository":{"id":278474738,"uuid":"935740819","full_name":"ai-action/setup-ollama","owner":"ai-action","description":"🦙 Set up GitHub Actions with Ollama CLI","archived":false,"fork":false,"pushed_at":"2026-04-29T04:12:43.000Z","size":2869,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-29T05:24:09.820Z","etag":null,"topics":["ai","ai-action","binary","cli","github-action","github-actions","large-language-models","llm","nodejs","ollama","setup-cli","typescript"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/setup-ollama","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/ai-action.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":".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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-02-20T00:07:32.000Z","updated_at":"2026-04-29T04:12:15.000Z","dependencies_parsed_at":"2026-04-08T05:00:59.517Z","dependency_job_id":null,"html_url":"https://github.com/ai-action/setup-ollama","commit_stats":null,"previous_names":["ai-action/setup-ollama"],"tags_count":95,"template":false,"template_full_name":"remarkablemark/github-actions-setup-cli-template","purl":"pkg:github/ai-action/setup-ollama","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ai-action%2Fsetup-ollama","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ai-action%2Fsetup-ollama/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ai-action%2Fsetup-ollama/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ai-action%2Fsetup-ollama/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ai-action","download_url":"https://codeload.github.com/ai-action/setup-ollama/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ai-action%2Fsetup-ollama/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32412890,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T05:20:56.964Z","status":"ssl_error","status_checked_at":"2026-04-29T05:19:54.749Z","response_time":110,"last_error":"SSL_read: 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":["ai","ai-action","binary","cli","github-action","github-actions","large-language-models","llm","nodejs","ollama","setup-cli","typescript"],"created_at":"2025-03-02T11:19:12.099Z","updated_at":"2026-04-29T06:01:22.029Z","avatar_url":"https://github.com/ai-action.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"Ollama\" height=\"200\" src=\"https://github.com/ai-action/assets/blob/master/logos/ollama.svg?raw=true\"\u003e\n\u003c/p\u003e\n\n# setup-ollama\n\n[![version](https://img.shields.io/github/release/ai-action/setup-ollama)](https://github.com/ai-action/setup-ollama/releases)\n[![build](https://github.com/ai-action/setup-ollama/actions/workflows/build.yml/badge.svg)](https://github.com/ai-action/setup-ollama/actions/workflows/build.yml)\n[![codecov](https://codecov.io/gh/ai-action/setup-ollama/graph/badge.svg?token=AB3XFS8HYL)](https://codecov.io/gh/ai-action/setup-ollama)\n\n🦙 Set up GitHub Actions workflow with [Ollama](https://github.com/ollama/ollama).\n\n## Quick Start\n\n```yaml\n# .github/workflows/ollama.yml\nname: ollama\non: push\njobs:\n  ollama:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Setup Ollama\n        uses: ai-action/setup-ollama@v2\n\n      - name: Run LLM\n        run: ollama run llama3.2 'Explain the basics of machine learning.'\n```\n\n## Usage\n\nInstall Ollama:\n\n```yaml\n- uses: ai-action/setup-ollama@v2\n```\n\nRun a prompt against a [model](https://ollama.com/library):\n\n```yaml\n- run: ollama run tinyllama \"What's a large language model?\"\n```\n\nCache the model to speed up CI:\n\n```yaml\n- uses: actions/cache@v5\n  with:\n    path: ~/.ollama\n    key: ${{ runner.os }}-ollama\n\n- run: ollama run tinyllama 'Define cache'\n```\n\nSee [action.yml](action.yml).\n\n## Inputs\n\n### `version`\n\n**Optional**: The CLI [version](https://github.com/ollama/ollama/releases). Defaults to [`0.22.0`](https://github.com/ollama/ollama/releases/tag/v0.22.0):\n\n```yaml\n- uses: ai-action/setup-ollama@v2\n  with:\n    version: 0.22.0\n```\n\n### `name`\n\n**Optional**: The CLI name. Defaults to `ollama`:\n\n```yaml\n- uses: ai-action/setup-ollama@v2\n  with:\n    name: ollama\n```\n\n## FAQ\n\n### zstd: Cannot exec: No such file or directory\n\nIf you get the error on a Linux self-hosted runner:\n\n```\ntar (child): zstd: Cannot exec: No such file or directory\ntar (child): Error is not recoverable: exiting now\n```\n\nIt means that [zstd](https://github.com/facebook/zstd) is not installed.\n\nTo fix this error, you can install `zstd`:\n\n```yaml\n- name: Install zstd\n  run: apt-get update \u0026\u0026 apt-get install zstd\n```\n\nOr use Ollama version \u003c[0.14.0](https://github.com/ollama/ollama/releases/tag/v0.14.0):\n\n```yaml\n- uses: ai-action/setup-ollama@v2\n  with:\n    version: 0.13.5\n```\n\nSee [#423](https://github.com/ai-action/setup-ollama/issues/423).\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fai-action%2Fsetup-ollama","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fai-action%2Fsetup-ollama","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fai-action%2Fsetup-ollama/lists"}