ci: fix V setup
This commit is contained in:
parent
755db6988c
commit
143b646dc8
5
.github/workflows/docs.yaml
vendored
5
.github/workflows/docs.yaml
vendored
@ -16,11 +16,12 @@ jobs:
|
|||||||
- name: Setup V
|
- name: Setup V
|
||||||
run: |
|
run: |
|
||||||
wget -qO /tmp/v.zip https://github.com/vlang/v/releases/latest/download/v_linux.zip
|
wget -qO /tmp/v.zip https://github.com/vlang/v/releases/latest/download/v_linux.zip
|
||||||
unzip -q /tmp/v.zip -d /tmp
|
unzip -q /tmp/v.zip -d /usr/local/lib/
|
||||||
|
ln -vs /usr/local/lib/v/v /usr/local/bin/v
|
||||||
|
|
||||||
- name: Build docs
|
- name: Build docs
|
||||||
run: |
|
run: |
|
||||||
/tmp/v doc -f html -m .
|
v doc -f html -m .
|
||||||
pushd _docs
|
pushd _docs
|
||||||
ln -vs licenseid.html index.html
|
ln -vs licenseid.html index.html
|
||||||
ls -alFh
|
ls -alFh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user