chore: 引入nodejs优化构建流程配置
All checks were successful
Build Server / Compile DLL (push) Successful in 1m30s

- 添加名称标签并引入nodejs作为依赖来增强构建流程的可读性和功能性。
This commit is contained in:
2025-07-08 00:01:44 +08:00
parent 532e07fdb7
commit 6a258b71a9

View File

@@ -13,15 +13,22 @@ jobs:
container:
image: greyltc/archlinux-aur:yay
steps:
- run: |
yay -Syu --noconfirm cmake python
- run: |
- name: Install dependencies
run: |
yay -Syu --noconfirm cmake python nodejs
- name: Clone repository
run: |
git clone https://github.com/swigger/wechat-ocr.git wcocr
- run: |
# fix: https://github.com/abseil/abseil-cpp/issues/1206
- name: Fix Protobuf version
run: |
sed -i 's/v3.21.0/v3.21.2/g' wcocr/CMakeLists.txt
- run: |
- name: Build
run: |
mkdir -p wcocr/build && cd wcocr/build && cmake .. && make -j$(nproc)
- name: Upload artifacts
uses: christopherhx/gitea-upload-artifact@v4
with: