mirror of
https://github.com/yang991178/fluent-reader.git
synced 2025-04-03 21:21:17 +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: |
|
run: |
|
||||||
sudo npm install --unsafe-perm=true --allow-root
|
sudo npm install --unsafe-perm=true --allow-root
|
||||||
npm run build
|
npm run build
|
||||||
electron-builder --linux -p never
|
npm run package-linux
|
||||||
|
|
||||||
- name: Get app version
|
- name: Get app version
|
||||||
id: package-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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- 'v*'
|
||||||
|
|
||||||
@ -18,8 +16,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
electron-builder -w --x64 -p never
|
npm run package-win-ci
|
||||||
electron-builder -w --ia32 -p never
|
|
||||||
|
|
||||||
- name: Get app version
|
- name: Get app version
|
||||||
id: package-version
|
id: package-version
|
||||||
|
@ -8,9 +8,10 @@
|
|||||||
"electron": "electron ./dist/electron.js",
|
"electron": "electron ./dist/electron.js",
|
||||||
"start": "npm run build && npm run electron",
|
"start": "npm run build && npm run electron",
|
||||||
"package-win": "electron-builder -w --x64 && electron-builder -w --ia32 && electron-builder -w appx:arm64",
|
"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-mac": "sudo electron-builder --mac",
|
||||||
"package-mas": "sudo electron-builder --mac mas && sudo bash build/resignAndPackage.sh",
|
"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": [],
|
"keywords": [],
|
||||||
"author": "Haoyuan Liu",
|
"author": "Haoyuan Liu",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user