Created
February 10, 2023 00:09
-
-
Save camsaul/14b50563027c377c4aa510c3442845da to your computer and use it in GitHub Desktop.
Clojure action .github/actions/clojure/action.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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