Skip to content

Instantly share code, notes, and snippets.

@camsaul
Created February 10, 2023 00:09
Show Gist options
  • Save camsaul/14b50563027c377c4aa510c3442845da to your computer and use it in GitHub Desktop.
Save camsaul/14b50563027c377c4aa510c3442845da to your computer and use it in GitHub Desktop.
Clojure action .github/actions/clojure/action.yml
name: Set up Java & Clojure
inputs:
cache-key:
required: true
runs:
using: composite
steps:
- uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'temurin'
- name: Setup Clojure
uses: DeLaGuardo/[email protected]
with:
cli: 1.11.1.1208
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
~/.m2/repository
~/.gitlibs
key: v1-${{ hashFiles('./deps.edn') }}-${{ inputs.cache-key }}
restore-keys: |
v1-${{ hashFiles('./deps.edn') }}-
v1-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment