fix: bugs

This commit is contained in:
qier222 2021-03-06 23:44:32 +08:00
parent 0b701d23da
commit ee248be2c5
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
18 changed files with 3712 additions and 3901 deletions

View file

@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, windows-latest]
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- name: Check out Git repository
@ -17,10 +17,17 @@ jobs:
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 12.16.3
node-version: 14.16.0
- name: Install RPM & Pacman (only on Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update &&
sudo apt-get install --no-install-recommends -y rpm &&
sudo apt-get install --no-install-recommends -y bsdtar
- name: Build/release Electron app
uses: samuelmeuli/action-electron-builder@v1
uses: samuelmeuli/action-electron-builder@v1.6.0
with:
# GitHub token, automatically provided to the action
# (No need to define this secret in the repo settings)
@ -35,11 +42,17 @@ jobs:
- uses: actions/upload-artifact@v2
with:
name: YesPlayMusic-mac
path: dist_electron/*.dmg
path: dist_electron/*-universal.dmg
if-no-files-found: ignore
- uses: actions/upload-artifact@v2
with:
name: YesPlayMusic-win
path: dist_electron/*.exe
path: dist_electron/*Setup*.exe
if-no-files-found: ignore
- uses: actions/upload-artifact@v2
with:
name: YesPlayMusic-linux
path: dist_electron/*.AppImage
if-no-files-found: ignore