From 77d210554e5cf1577adfc1d451889f1815d30176 Mon Sep 17 00:00:00 2001 From: Zhijian Fang <31070597+klxf@users.noreply.github.com> Date: Fri, 28 Mar 2025 18:41:18 +0800 Subject: [PATCH] Create auto_build.yml --- .github/workflows/auto_build.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/auto_build.yml diff --git a/.github/workflows/auto_build.yml b/.github/workflows/auto_build.yml new file mode 100644 index 0000000..49478c4 --- /dev/null +++ b/.github/workflows/auto_build.yml @@ -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