Skip to content

Commit

Permalink
Merge pull request #2 from yetanalytics/node20-updates
Browse files Browse the repository at this point in the history
Updates to actions, NodeJS versions, and Clojure versions
  • Loading branch information
kelvinqian00 authored Aug 29, 2024
2 parents 38684d5 + 6941274 commit 1508117
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ GitHub action to set up Java, Clojure, and Node environments. To run, invoke it
with:
java-version: '11'
java-distribution: 'temurin'
node-version: '16'
clojure-version: '1.11.1.1165'
node-version: '20'
clojure-version: '1.11.4.1474'
```
Default options are shown, they may be omitted.
Expand All @@ -23,4 +23,3 @@ Will do the following:
* Install Clojure CLI
which will provide an environment suitable for testing and building Clojure(Script) projects.
11 changes: 5 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,28 @@ inputs:
node-version:
description: Version of Node to install
required: true
default: '16'
default: '20'

clojure-version:
description: Version of Clojure CLI to install
required: true
default: '1.11.1.1165'
default: '1.11.4.1474'

runs:
using: "composite"
steps:
- name: Setup Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: ${{ inputs.java-distribution }}
java-version: ${{ inputs.java-version }}

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}

- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@10.2
uses: DeLaGuardo/setup-clojure@12.5
with:
cli: ${{ inputs.clojure-version }}

0 comments on commit 1508117

Please sign in to comment.