{"id":19196187,"url":"https://github.com/coursier/setup-action","last_synced_at":"2026-01-02T18:15:31.985Z","repository":{"id":37802434,"uuid":"307224010","full_name":"coursier/setup-action","owner":"coursier","description":"▶️ GitHub Action using Coursier to install JVM and Scala tools","archived":false,"fork":false,"pushed_at":"2025-03-27T13:20:14.000Z","size":2837,"stargazers_count":57,"open_issues_count":4,"forks_count":25,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-28T15:45:53.671Z","etag":null,"topics":["coursier","coursier-setup","github-actions","jvm","scala","setup-scala"],"latest_commit_sha":null,"homepage":"","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/coursier.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-26T00:45:10.000Z","updated_at":"2025-03-25T16:28:21.000Z","dependencies_parsed_at":"2024-04-08T21:30:30.268Z","dependency_job_id":"ad4390c1-fc2d-4f7f-961e-7e879bd3dad9","html_url":"https://github.com/coursier/setup-action","commit_stats":{"total_commits":300,"total_committers":16,"mean_commits":18.75,"dds":"0.29666666666666663","last_synced_commit":"039f736548afa5411c1382f40a5bd9c2d30e0383"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coursier%2Fsetup-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coursier%2Fsetup-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coursier%2Fsetup-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coursier%2Fsetup-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coursier","download_url":"https://codeload.github.com/coursier/setup-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276163,"owners_count":20912288,"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":["coursier","coursier-setup","github-actions","jvm","scala","setup-scala"],"created_at":"2024-11-09T12:12:56.451Z","updated_at":"2026-01-02T18:15:26.955Z","avatar_url":"https://github.com/coursier.png","language":"TypeScript","readme":"# Coursier setup GitHub Action\n\nA GitHub Action to install Coursier and use it to install Java and Scala CLI tools.\n\nIt can be useful if you want to install a specific version of JVM or use a build tool like `mill` or `seed`.\n\nInspired by [olafurpg/setup-scala](https://github.com/olafurpg/setup-scala) and the blog post [Single command Scala setup](https://alexarchambault.github.io/posts/2020-09-21-cs-setup.html) by Alex Archambault (author of Coursier).\n\n## Features\n\n- run it on any platform: Linux, MacOS, Windows\n- install [any JVM](https://get-coursier.io/docs/cli-java.html#jvm-index) you need\n- setup the build tool of your choice: sbt, mill, seed, etc.\n- install other common Scala CLI tools: Ammonite, Bloop, giter8, [etc.](https://github.com/coursier/apps/tree/master/apps/resources)\n\n## Inputs\n\n- `jvm` (optional): JVM to install\n  - one of the options from `cs java --available`.\n  - if left empty either the existing JVM will be used or Coursier will install its default JVM.\n\n- `jvm-index` (optional): The JVM index source\n  - arbitrary URL containing the JVM index source like in `cs java --available --jvm-index https://url/of/your/index.json`.\n  - if left empty the coursier index will be used as default JVM index source\n\n- `apps` (optional): Scala apps to install (`sbtn` by default)\n  - space separated list of app names (from the [main channel](https://github.com/coursier/apps))\n\n- `customRepositories` (optional): ''\n  - Pipe separated list of [repositories](https://get-coursier.io/docs/other-repositories) to supply to coursier\n\n- `disableDefaultRepos` (optional): 'false'\n  - Whether or not to pass the --no-default flag to coursier\n\n### Example with custom inputs\n\n```yml\n  steps:\n    - uses: actions/checkout@v2\n    - uses: coursier/setup-action@v1\n      with:\n        jvm: adopt:11\n        jvm-index: https://url/of/your/index.json\n        apps: sbtn bloop ammonite\n        disableDefaultRepos: true\n        customRepositories: https://packages.corp.com/maven\n```\n\n## Outputs\n\n- `cs-version`: version of the installed Coursier (should be the latest available)\n\n## Caching\n\nThis action should work well with the official Coursier [cache-action](https://github.com/coursier/cache-action). For example:\n\n```yml\n  steps:\n    - uses: actions/checkout@v2\n    - uses: coursier/cache-action@v6\n    - uses: coursier/setup-action@v1\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoursier%2Fsetup-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoursier%2Fsetup-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoursier%2Fsetup-action/lists"}