👷 监控客户端自动化构建

This commit is contained in:
chaos-zhu 2024-08-16 11:56:33 +08:00
parent 049f991cd8
commit 2ad1137c99

View File

@ -28,6 +28,15 @@ jobs:
run: npm run pkglinux:x64
working-directory: client
- name: Install QEMU # 设置qemu 支持arm的虚拟环境
run: sudo apt-get update && sudo apt-get install -y qemu qemu-user-static binfmt-support
- name: Setup QEMU ARM64
run: |
sudo update-binfmts --enable qemu-aarch64
sudo cp /usr/bin/qemu-aarch64-static /usr/local/bin
uname -a
- name: Build for Linux arm64
run: npm run pkglinux:arm64
working-directory: client
@ -46,15 +55,6 @@ jobs:
asset_name: easynode-client-x86
asset_content_type: application/octet-stream
- name: Install QEMU
run: sudo apt-get update && sudo apt-get install -y qemu qemu-user-static binfmt-support
- name: Setup QEMU ARM64
run: |
sudo update-binfmts --enable qemu-aarch64
sudo cp /usr/bin/qemu-aarch64-static /usr/local/bin
uname -a
- name: Upload Linux ARM64 Binary to Release
uses: actions/upload-release-asset@v1
env: