{"id":20356748,"url":"https://github.com/typst-community/setup-hayagriva","last_synced_at":"2026-04-16T00:32:54.529Z","repository":{"id":219854704,"uuid":"750052097","full_name":"typst-community/setup-hayagriva","owner":"typst-community","description":"🏷️ Installs the Hayagriva CLI for GitHub Actions","archived":false,"fork":false,"pushed_at":"2024-02-06T18:04:05.000Z","size":1093,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-15T05:56:04.988Z","etag":null,"topics":["action","bibliography","citations","github-action","github-actions","hayagriva","setup-action","typst","typst-community"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/typst-community.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-29T22:23:22.000Z","updated_at":"2024-06-08T13:15:34.000Z","dependencies_parsed_at":"2024-01-30T02:43:12.892Z","dependency_job_id":"ba84f3dd-55a9-48dd-9e0a-5ad8f96dd03c","html_url":"https://github.com/typst-community/setup-hayagriva","commit_stats":null,"previous_names":["jcbhmr/setup-hayagriva"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/typst-community/setup-hayagriva","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typst-community%2Fsetup-hayagriva","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typst-community%2Fsetup-hayagriva/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typst-community%2Fsetup-hayagriva/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typst-community%2Fsetup-hayagriva/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/typst-community","download_url":"https://codeload.github.com/typst-community/setup-hayagriva/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typst-community%2Fsetup-hayagriva/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31866347,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"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":["action","bibliography","citations","github-action","github-actions","hayagriva","setup-action","typst","typst-community"],"created_at":"2024-11-14T23:17:43.367Z","updated_at":"2026-04-16T00:32:54.505Z","avatar_url":"https://github.com/typst-community.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Setup Hayagriva\n\n🏷️ Installs [the Hayagriva CLI](https://github.com/typst/hayagriva#installation) for GitHub Actions\n\n\u003ctable align=center\u003e\u003ctd\u003e\n\n```yaml\n- uses: jcbhmr/setup-hayagriva@v1\n- run: hayagriva literature.yml reference --style apa\n```\n\n\u003c/table\u003e\n\n✅ Installs the `hayagriva` CLI globally \\\n📌 Supports version pinning \\\n⚡ Caches the compiled binary using [@actions/cache](https://www.npmjs.com/package/@actions/cache) \\\n📥 Downloads from [the Hayagriva GitHub releases](https://github.com/typst/hayagriva/releases)\n\n## Usage\n\n![GitHub Actions](https://img.shields.io/static/v1?style=for-the-badge\u0026message=GitHub+Actions\u0026color=2088FF\u0026logo=GitHub+Actions\u0026logoColor=FFFFFF\u0026label=)\n![GitHub](https://img.shields.io/static/v1?style=for-the-badge\u0026message=GitHub\u0026color=181717\u0026logo=GitHub\u0026logoColor=FFFFFF\u0026label=)\n\n**🚀 Here's what you're after:**\n\n```yml\non: push\njobs:\n  job:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jcbhmr/setup-hayagriva@v1\n      - run: hayagriva literature.yml reference\n```\n\n### Inputs\n\n- **`hayagriva-version`:** Which version of Hayagriva to install. This can be an exact version specifier such as `0.5.1` or a semver range like `~0.5.0` or `0.x`. Use `latest` to always install the latest release. Defaults to `latest`.\n\n- **`hayagriva-token`:** The GitHub token to use when fetching the version list from [typst/hayagriva](https://github.com/typst/hayagriva/releases). You shouldn't have to touch this. The default is the `github.token` if you're on github.com or unauthenticated (rate limited) if you're not on github.com.\n\n- **`cache`:** Whether or not to use the workflow cache to cache the compiled `hayagriva` binary for future runs.\n\n### Outputs\n\n- **`hayagriva-version`:** The version of Hayagriva that was installed. This will be something like `0.5.1` or similar.\n\n- **`cache-hit`:** Whether or not Hayagriva was restored from the runner's cache or download anew.\n\n## Development\n\n![Bun](https://img.shields.io/static/v1?style=for-the-badge\u0026message=Bun\u0026color=000000\u0026logo=Bun\u0026logoColor=FFFFFF\u0026label=)\n![GitHub Actions](https://img.shields.io/static/v1?style=for-the-badge\u0026message=GitHub+Actions\u0026color=2088FF\u0026logo=GitHub+Actions\u0026logoColor=FFFFFF\u0026label=)\n\nThis GitHub Action uses Bun to bundle the main entry point plus all the imported dependencies into a single `.js` file ready to be run by `main: dist/main.js` in the `action.yml`. To test the action just open a PR (even a draft one) and some magic GitHub Actions will test your changes. 🧙‍♂️\n\nℹ Once [Bun gets Windows support](https://github.com/oven-sh/bun/issues/43) make sure you add back the `runs-on: windows-latest` test to `test-action.yml`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypst-community%2Fsetup-hayagriva","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftypst-community%2Fsetup-hayagriva","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypst-community%2Fsetup-hayagriva/lists"}