WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

fix: notification not set correctly / 修复: 通知无法正常设置 #10

fix: notification not set correctly / 修复: 通知无法正常设置

fix: notification not set correctly / 修复: 通知无法正常设置 #10

Workflow file for this run

# main.yml
name: Build Electron App For Win
on:
push:
tags:
- "v*.*.*"
jobs:
release:
name: build and release electron app
runs-on: ${{ matrix.os}}
strategy:
fail-fast: false
matrix:
os: [windows-latest]
steps:
- name: Check out git repository
uses: actions/[email protected]
- name: Install Node.js
uses: actions/[email protected]
- name: npm install
run: |
npm install
- name: cleanup artifacts in dist
if: matrix.os == 'windows-latest'
run: |
npx rimraf "dist/!(*.exe)"
npx rimraf "dist/!(*.msi)"
- name: build windows app
if: matrix.os == 'windows-latest'
run: |
npm run dist:win
- name: upload artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}
path: |
dist/*.exe
dist/*.msi
- name: release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
dist/*.exe
dist/*.msi