@@ -11,23 +11,14 @@ jobs:
1111 runs-on : ubuntu-latest
1212
1313 steps :
14- - uses : actions/checkout@v4
15- - uses : actions/cache@v4
16- with : { path: "~/.m2", key: "${{ runner.os }}-${{ hashFiles('deps.edn') }}-m2" }
17- - uses : actions/cache@v4
18- with :
19- key : " clojure-${{ runner.os }}-${{ hashFiles('.github/workflows/install-binaries.sh') }}"
20- path : |
21- ~/bin
22- ~/lib
14+ - uses : actions/checkout@v7
15+ - uses : jomco/clojure-action@v0
16+ with : { m2-cache-key: m2-build-checks }
2317
2418 - name : Install packages
2519 run : |
2620 sudo apt-get install -y reuse
2721
28- - name : Install clj runtime
29- run : .github/workflows/install-binaries.sh
30-
3122 - name : Run release checks
3223 run : make release_check
3324
@@ -78,23 +69,13 @@ jobs:
7869 - standalone.jar
7970
8071 steps :
81- - uses : actions/checkout@v4
82- - uses : actions/cache@v4
83- with : { path: "~/.m2", key: "${{ runner.os }}-${{ hashFiles('deps.edn') }}-m2" }
84- - uses : actions/cache@v4
85- with :
86- key : " clojure-${{ runner.os }}-${{ hashFiles('.github/workflows/install-binaries.sh') }}"
87- path : |
88- ~/bin
89- ~/lib
72+ - uses : jomco/clojure-action@v0
73+ with : { m2-cache-key: m2-build-artifacts }
9074
9175 - name : Artifact name
9276 run : echo filename=eduhub-validator-${{ needs.create_release.outputs.version }}-${{ matrix.arch }} >> $GITHUB_OUTPUT
9377 id : artifact
94-
95- - name : Install clj runtime
96- run : .github/workflows/install-binaries.sh
97-
78+
9879 - name : Build artifact
9980 run : make ${{ steps.artifact.outputs.filename }}
10081
0 commit comments