This repository was archived by the owner on May 4, 2022. It is now read-only.
Commit 62f8330 1 parent 1b6aa8a commit 62f8330 Copy full SHA for 62f8330
File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -10,20 +10,20 @@ packages = [
10
10
" openjdk-11-jre-headless"
11
11
]
12
12
setup = [
13
- " wget https://download.clojure.org/install/linux-install-1.10.1.478 .sh" ,
14
- " chmod +x linux-install-1.10.1.478 .sh" ,
15
- " ./linux-install-1.10.1.478 .sh" ,
16
- " rm linux-install-1.10.1.478 .sh" ,
13
+ " wget https://download.clojure.org/install/linux-install-1.10.1.536 .sh" ,
14
+ " chmod +x linux-install-1.10.1.536 .sh" ,
15
+ " ./linux-install-1.10.1.536 .sh" ,
16
+ " rm linux-install-1.10.1.536 .sh" ,
17
17
18
- # this ensures that we cache the maven deps in the image ($XDG_CONFIG_HOME)
19
- # https://clojure.org/reference/deps_and_cli#_command_line_tools
20
- # pretty ridiculous but what else can you do?
21
- " clojure -Sverbose -Sdeps '{:mvn/local-repo \" /home/runner/.m2/repository\" }' --eval '' " ,
22
- " mv /root/.m2/repository $XDG_CONFIG_HOME/clojure/repository && rm -rf /root/.m2 " ,
18
+ # Fetch Maven artifacts eagerly in order to cache them in the container image.
19
+ # ( https://clojure.org/reference/deps_and_cli#_command_line_tools)
20
+ """ clojure -Sverbose \
21
+ -Sdeps '{:deps {org.clojure/tools.namespace {: mvn/version \" 1.0.0 \" }} :mvn/ local-repo \" /home/runner/.m2/repository\" }' \
22
+ --eval '' """
23
23
]
24
24
versionCommand = [
25
25
" clojure" ,
26
- " -e " ,
26
+ " --eval " ,
27
27
" (clojure-version)"
28
28
]
29
29
You can’t perform that action at this time.
0 commit comments