mirror of
https://github.com/yang991178/fluent-reader.git
synced 2025-04-03 05:01:32 +02:00
fix ci build
This commit is contained in:
parent
f736a065f7
commit
bdaaeb9b78
2
.github/workflows/release-linux.yml
vendored
2
.github/workflows/release-linux.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
||||
run: |
|
||||
sudo npm install --unsafe-perm=true --allow-root
|
||||
npm run build
|
||||
electron-builder --linux -p never
|
||||
npm run package-linux
|
||||
|
||||
- name: Get app version
|
||||
id: package-version
|
||||
|
5
.github/workflows/release-main.yml
vendored
5
.github/workflows/release-main.yml
vendored
@ -2,8 +2,6 @@ name: CI/CD Release Main
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
@ -18,8 +16,7 @@ jobs:
|
||||
run: |
|
||||
npm install
|
||||
npm run build
|
||||
electron-builder -w --x64 -p never
|
||||
electron-builder -w --ia32 -p never
|
||||
npm run package-win-ci
|
||||
|
||||
- name: Get app version
|
||||
id: package-version
|
||||
|
@ -8,9 +8,10 @@
|
||||
"electron": "electron ./dist/electron.js",
|
||||
"start": "npm run build && npm run electron",
|
||||
"package-win": "electron-builder -w --x64 && electron-builder -w --ia32 && electron-builder -w appx:arm64",
|
||||
"package-win-ci": "electron-builder -w --x64 -p never && electron-builder -w --ia32 -p never",
|
||||
"package-mac": "sudo electron-builder --mac",
|
||||
"package-mas": "sudo electron-builder --mac mas && sudo bash build/resignAndPackage.sh",
|
||||
"package-linux": "electron-builder --linux"
|
||||
"package-linux": "electron-builder --linux -p never"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "Haoyuan Liu",
|
||||
|
Loading…
x
Reference in New Issue
Block a user