更新 .gitea/workflows/build.yaml
This commit is contained in:
parent
8e1a58238e
commit
b73f74a517
|
@ -28,22 +28,22 @@ jobs:
|
||||||
git clone https://git.hmtsai.cn/cxykevin/study-area-home-action-deps
|
git clone https://git.hmtsai.cn/cxykevin/study-area-home-action-deps
|
||||||
mv study-area-home-action-deps/node-$(uname -m).tar.xz study-area-home-action-deps/node.tar.xz
|
mv study-area-home-action-deps/node-$(uname -m).tar.xz study-area-home-action-deps/node.tar.xz
|
||||||
tar xvJf study-area-home-action-deps/node.tar.xz
|
tar xvJf study-area-home-action-deps/node.tar.xz
|
||||||
mv node-* node
|
mv node-*-linux-$(uname -m) node
|
||||||
export PATH=$(pwd)/node/bin:$PATH
|
export PATH=$(pwd)/node/bin:$PATH
|
||||||
- name: Check node
|
- name: Check node
|
||||||
run: |
|
run: |
|
||||||
ls study-area-home-action-deps
|
ls study-area-home-action-deps
|
||||||
echo "------------"
|
echo "------------"
|
||||||
ls .
|
ls .
|
||||||
# - name: Prepare NPM source
|
- name: Prepare NPM source
|
||||||
# run: |
|
run: |
|
||||||
# npm config set registry https://registry.npmmirror.com
|
npm config set registry https://registry.npmmirror.com
|
||||||
# - name: npm install
|
- name: npm install
|
||||||
# run: |
|
run: |
|
||||||
# npm install
|
npm install
|
||||||
# - name: Build
|
- name: Build
|
||||||
# run: |
|
run: |
|
||||||
# npm run build
|
npm run build
|
||||||
# - name: Add permission
|
# - name: Add permission
|
||||||
# run: chmod +x study-area-action-deps/mdbook-linux-$(uname -m)
|
# run: chmod +x study-area-action-deps/mdbook-linux-$(uname -m)
|
||||||
# - name: Build mdbook
|
# - name: Build mdbook
|
||||||
|
|
Loading…
Reference in New Issue