更新 .gitea/workflows/build.yaml
This commit is contained in:
parent
2b72aa0b8e
commit
0f2536f572
|
@ -21,20 +21,25 @@ jobs:
|
||||||
- name: Prepare Lftp
|
- name: Prepare Lftp
|
||||||
run: |
|
run: |
|
||||||
apt-get install lftp -y
|
apt-get install lftp -y
|
||||||
|
- name: Checkout
|
||||||
|
uses: http://git.hmtsai.cn/actions/checkout@v4
|
||||||
- name: Prepare node
|
- name: Prepare node
|
||||||
run: |
|
run: |
|
||||||
apt-get install nodejs -y
|
git clone https://git.hmtsai.cn/cxykevin/study-area-home-action-deps
|
||||||
- name: Checkout
|
mv study-area-home-action-deps/node-$(uname -m).tar.xz study-area-home-action-deps/node.tar.xz
|
||||||
uses: http://git.hmtsai.cn/actions/checkout@v4
|
tar xvJf study-area-home-action-deps/node.tar.xz
|
||||||
- name: Prepare NPM source
|
- name: Check node
|
||||||
run: |
|
run: |
|
||||||
npm config set registry https://registry.npmmirror.com
|
ls study-area-home-action-deps
|
||||||
- name: npm install
|
# - name: Prepare NPM source
|
||||||
run: |
|
# run: |
|
||||||
npm install
|
# npm config set registry https://registry.npmmirror.com
|
||||||
- name: Build
|
# - name: npm install
|
||||||
run: |
|
# run: |
|
||||||
npm run build
|
# npm install
|
||||||
|
# - name: Build
|
||||||
|
# run: |
|
||||||
|
# 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