ci: run jpm bootstrap from inside the jpm checkout

bootstrap.janet resolves jpm/cli.janet relative to cwd, so it must run
from /tmp/jpm rather than the repo root (fixes 'could not find file
jpm/cli.janet').
This commit is contained in:
Yogthos 2026-06-05 18:30:27 -04:00
parent 1da6fce1ab
commit 5e69f71947
5 changed files with 180 additions and 1 deletions

View file

@ -35,7 +35,10 @@ jobs:
- name: Install jpm
run: |
git clone --depth 1 https://github.com/janet-lang/jpm.git /tmp/jpm
sudo janet /tmp/jpm/bootstrap.janet
# bootstrap.janet resolves jpm/cli.janet relative to the cwd, so it
# must run from inside the jpm checkout.
cd /tmp/jpm
sudo janet bootstrap.janet
- name: Janet version
run: janet -v