Skip to content

add new icon

add new icon #278

name: Build CI For Electron
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
matrix:
os-version: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os-version }}
steps:
- uses: actions/checkout@v3
- name: 设置 Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
cache: 'npm'
- name: 安装依赖
run: npm i
- name: 构建 Electron
run: npm run build:electron
- name: 上传构建文件
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.os-version }}
path: ./dist/electron/轻书架*