Workflow config file is invalid. Please check your config file: yaml: line 28: found character that cannot start any token
hello8693 2c30071514 ci(build): 更新_checkout和setup-node动作至v4
- 将checkout动作更新为actions/checkout@v4.1.7,以利用改进的功能。
-将setup-node动作更新为actions/setup-node@v4,以提升CI/CD流程的性能和可靠性。- 更新upload-artifact动作至@v4,确保与最新版本的兼容性。
2024-08-27 16:18:21 +08:00

32 lines
641 B
YAML

name: Build and Package Electron App
on: [push]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout
uses: actions/checkout@v4.1.7
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install
- name: Build and package for Windows
run: yarn build:win
- name: Upload artifact
uses: @actions/upload-artifact@v4
with:
name: ExamShowboard-Windows
path: dist/*.exe