ci: 📝 调整 github 脚本配置

This commit is contained in:
viarotel 2023-09-17 00:03:01 +08:00
parent a2064afea9
commit 63a3de514b
3 changed files with 10 additions and 9 deletions

View File

@ -1,4 +1,4 @@
name: Build/release Electron app
name: release-assets
on:
push:
@ -11,7 +11,8 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [windows-latest]
# os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Check out Git repository
@ -25,13 +26,13 @@ jobs:
- name: Install Dependencies
run: npm install
# - name: build-linux
# if: matrix.os == 'ubuntu-latest'
# run: npm run build:linux
- name: build-linux
if: matrix.os == 'ubuntu-latest'
run: npm run build:linux
# - name: build-mac
# if: matrix.os == 'macos-latest'
# run: npm run build:mac
- name: build-mac
if: matrix.os == 'macos-latest'
run: npm run build:mac
- name: build-win
if: matrix.os == 'windows-latest'

View File

@ -1,4 +1,4 @@
name: Sync To Gitee
name: sync-gitee
on:
workflow_dispatch: {}
push: