Create auto_build.yml

This commit is contained in:
Zhijian Fang 2025-03-28 18:41:18 +08:00 committed by GitHub
parent 7e4c81f2ea
commit 77d210554e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

30
.github/workflows/auto_build.yml vendored Normal file
View File

@ -0,0 +1,30 @@
name: Auto Build
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 安装 Node.js
uses: actions/setup-node@v4
- name: 初始化环境
run: |
npm install
- name: 构建
run: |
npm run build
- name: 上传工件
uses: actions/upload-artifact@v4
with:
name: eda-copilot
path: |
./build/dist/eda-copilot_*.eext