mirror of
https://github.com/DeLaGuardo/setup-clojure.git
synced 2024-12-27 00:16:21 +08:00
fix README
This commit is contained in:
parent
88198cb6e6
commit
4ee5cd4979
18
README.md
18
README.md
@ -15,16 +15,26 @@ Here is a snippet for your workflow file:
|
||||
```yaml
|
||||
steps:
|
||||
- uses: actions/checkout@latest
|
||||
// The JDK version to make available on the path. Required to run any clojure command line tools.
|
||||
// You can use any package that providing any JDK here, eg. `actions/setup-java@v1`
|
||||
// or you can use mine package to provision graalvm on hosted environment.
|
||||
# The JDK version to make available on the path. Required to run any clojure command line tools.
|
||||
# You can use any package that providing any JDK here, eg. `actions/setup-java@v1`
|
||||
# or you can use mine package to provision graalvm on hosted environment.
|
||||
- uses: DeLaGuardo/setup-graalvm@2.0
|
||||
with:
|
||||
graalvm-version: '19.3.1.java11'
|
||||
- uses: DeLaGuardo/setup-clojure@master
|
||||
with:
|
||||
tools-deps: '1.10.1.469'
|
||||
# To use Clojure CLI 1.10.1.561 based on tools.deps
|
||||
cli: '1.10.1.469'
|
||||
# leiningen and boot-cli can be installed as well
|
||||
lein: 2.9.4
|
||||
# For leiningen and boot you could use 'latest' version
|
||||
boot: latest
|
||||
# desired executables will be available
|
||||
# Please install separatelly rlwrap
|
||||
# if you are planning to use `clj` instead of `clojure` as a CLI runner
|
||||
- run: clojure -Sdescribe
|
||||
- run: lein -v
|
||||
- run: boot -V
|
||||
```
|
||||
|
||||
For more application cases please check [Smoke Test Workflow file](https://github.com/DeLaGuardo/setup-clojure/blob/master/.github/workflows/smoke-tests.yml)
|
||||
|
Loading…
x
Reference in New Issue
Block a user