ci: fix build x2
This commit is contained in:
parent
950fd84ae6
commit
c771a8671f
10
.github/workflows/docs.yaml
vendored
10
.github/workflows/docs.yaml
vendored
@ -11,11 +11,15 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup V
|
||||||
|
uses: vlang/setup-v@v1
|
||||||
|
with:
|
||||||
|
check-latest: true
|
||||||
|
|
||||||
- name: Build docs
|
- name: Build docs
|
||||||
run: |
|
run: |
|
||||||
wget -q https://github.com/vlang/v/releases/latest/download/v_linux.zip -O /tmp/v_linux.zip
|
v doc -m . -f html -o doc/
|
||||||
unzip -q /tmp/v_linux.zip -d /tmp
|
|
||||||
/tmp/v/v doc -m . -f html -o doc/
|
|
||||||
ln -s doc/licenseid.html doc/index.html
|
ln -s doc/licenseid.html doc/index.html
|
||||||
ls -alFh doc/
|
ls -alFh doc/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user