mirror of
https://github.com/DeLaGuardo/setup-clojure.git
synced 2024-12-27 08:31:04 +08:00
49 lines
1.7 KiB
YAML
49 lines
1.7 KiB
YAML
name: 'Setup Clojure'
|
|
description: 'Setup your runner with Clojure build tools'
|
|
author: 'DeLaGuardo'
|
|
branding:
|
|
icon: 'gift'
|
|
color: 'blue'
|
|
inputs:
|
|
lein:
|
|
description: 'The Leiningen version to make available on the path.'
|
|
boot:
|
|
description: 'The boot-clj version to make available on the path.'
|
|
tools-deps:
|
|
description: '[DEPRECATED] The tools deps version to make available on the path.'
|
|
deprecationMessage: 'Use the `cli` input instead'
|
|
cli:
|
|
description: 'Clojure CLI version to make available on the path.'
|
|
cmd-exe-workaround:
|
|
description: >+
|
|
[DEPRECATED]
|
|
On Windows platform, it will replace official Clojure CLI
|
|
with the `deps.clj` of its specific version, `latest` can be used.
|
|
|
|
Useful for running `clojure` command from `cmd.exe`.
|
|
deprecationMessage: 'No longer needed. Please remove and use unified `cli` input instead'
|
|
bb:
|
|
description: 'Babashka version to install, `latest` can be used.'
|
|
clj-kondo:
|
|
description: 'Clj-kondo version to install, `latest` can be used.'
|
|
cljfmt:
|
|
description: 'cljfmt version to install, `latest` can be used.'
|
|
cljstyle:
|
|
description: 'cljstyle version to install, `latest` can be used.'
|
|
zprint:
|
|
description: 'zprint version to install, `latest` can be used.'
|
|
github-token:
|
|
description: >+
|
|
To fix rate limit errors, provide `secrets.GITHUB_TOKEN` value to this field.
|
|
More info: https://docs.github.com/en/actions/security-guides/automatic-token-authentication
|
|
default: ${{ github.token }}
|
|
required: false
|
|
invalidate-cache:
|
|
description: >+
|
|
Set to `true` to fix problems related to wrongly populated tool cache
|
|
default: false
|
|
required: false
|
|
runs:
|
|
using: 'node16'
|
|
main: 'dist/index.js'
|