add new icon #278
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/轻书架* |