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:
parent
1da6fce1ab
commit
5e69f71947
5 changed files with 180 additions and 1 deletions
5
.github/workflows/tests.yml
vendored
5
.github/workflows/tests.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue