Skip to content

Commit ce361fa

Browse files
author
Amitayush Thakur
committed
Added home.
1 parent 0ca3b47 commit ce361fa

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/github-build-actions.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
container:
1313
image: coqorg/coq:8.18.0-ocaml-4.14.2-flambda
1414
options: --user 0 # Running as root; no sudo needed
15+
env:
16+
HOME: /root
1517

1618
steps:
1719
- name: Checkout repository
@@ -55,20 +57,19 @@ jobs:
5557
- name: Install Lean (elan)
5658
shell: bash
5759
run: |
58-
export HOME=/root
5960
curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh -s -- -y
60-
source /root/.elan/env
61+
source $HOME/.elan/env
6162
6263
- name: Prepare Lean REPL
6364
shell: bash
6465
run: |
65-
source /root/.elan/env
66+
source $HOME/.elan/env
6667
install-lean-repl
6768
6869
- name: Build Lean REPL for itp-interface
6970
shell: bash
7071
run: |
71-
source /root/.elan/env
72+
source $HOME/.elan/env
7273
install-itp-interface
7374
7475
- name: List repository files (debug step)
@@ -78,5 +79,5 @@ jobs:
7879
shell: bash
7980
run: |
8081
eval $(opam env)
81-
source /root/.elan/env
82+
source $HOME/.elan/env
8283
python src/test/simple_env_test.py

0 commit comments

Comments
 (0)