coursier/coursier-setup-action
Use Coursier to install JVM and Scala apps
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| jvm | JVM to install (leave empty to use default) | no | "" |
| jvm-index | Arbitrary URL containing the JVM index source (leave empty to use default) | no | "" |
| apps | Applications to install | no | sbtn |
| version | Coursier version to install | no | "" |
| customRepositories | The pipe (|) seperated locations of non-standard repositories. See https://get-coursier.io/docs/other-repositories | no | "" |
| disableDefaultRepos | Whether to pass the --no-default flag to coursier | no | false |
| mirrors | Newline-separated list of "from=to" mirror entries written to ~/.config/coursier/mirror.properties before any cs invocation. The "from" side may be a comma-separated list of source URLs. Unlike customRepositories / disableDefaultRepos, mirrors are applied at the resolver level to every repository coursier sees — including ones declared inside app descriptors that customRepositories cannot override. See https://get-coursier.io/docs/other-mirrors | no | "" |
| extraJvmArgs | Space-separated list of -D JVM property args passed to every cs invocation. The -J prefix is added automatically if missing (e.g. -Dhttps.proxyHost=proxy.example.com -Dhttps.proxyPort=8080) | no | "" |
| useContainerImage | Use the container-compatible Coursier launcher. When enabled, the action downloads the *-container launcher variant (built with -H:-UseContainerSupport). | no | false |
| launcher | Coursier launcher type to use. Leave empty (default) for the native binary launcher. Set to "thin" or "jvm" to use the thin JVM launcher (requires Java in PATH). Set to "assembly" to use the assembly (fat jar) launcher (requires Java in PATH). | no | "" |
Outputs
| name | description |
|---|---|
| cs-version | Version of the installed Coursier |