mirror of
https://github.com/DeLaGuardo/setup-clojure.git
synced 2024-12-25 23:40:49 +08:00
d2ddd6fe91
to authenticate GH API calls * Upgrade node-version to 20.10.0 * Upgrade dependencies * Upgrade base node version to run action on * Correct authentication token format
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: 'node20'
|
|
main: 'dist/index.js'
|