mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-17 19:23:26 +00:00
no message
This commit is contained in:
parent
17e95f7147
commit
585ac3c014
2
.github/workflows/publish-desktop.yml
vendored
2
.github/workflows/publish-desktop.yml
vendored
@ -26,6 +26,8 @@ jobs:
|
|||||||
APPLEIDPASS: ${{ secrets.APPLEIDPASS }}
|
APPLEIDPASS: ${{ secrets.APPLEIDPASS }}
|
||||||
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
|
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
|
||||||
CSC_LINK: ${{ secrets.CSC_LINK }}
|
CSC_LINK: ${{ secrets.CSC_LINK }}
|
||||||
|
GH_REPOSITORY: ${{ github.repository }}
|
||||||
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
DP_KEY: ${{ secrets.DP_KEY }}
|
DP_KEY: ${{ secrets.DP_KEY }}
|
||||||
run: ./cmd electron workflows
|
run: ./cmd electron workflows
|
||||||
|
|
||||||
|
|||||||
4
electron/build.js
vendored
4
electron/build.js
vendored
@ -176,9 +176,9 @@ function startBuild(data, publish, release) {
|
|||||||
if (publish !== true || !process.env.APPLEID || !process.env.APPLEIDPASS) {
|
if (publish !== true || !process.env.APPLEID || !process.env.APPLEIDPASS) {
|
||||||
delete econfig.build.afterSign;
|
delete econfig.build.afterSign;
|
||||||
}
|
}
|
||||||
if (publish === true && process.env.GITHUB_REPOSITORY) {
|
if (publish === true && process.env.GH_REPOSITORY) {
|
||||||
// publish github package config
|
// publish github package config
|
||||||
let repository = process.env.GITHUB_REPOSITORY.split("/")
|
let repository = process.env.GH_REPOSITORY.split("/")
|
||||||
econfig.build.publish = {
|
econfig.build.publish = {
|
||||||
"provider": "github",
|
"provider": "github",
|
||||||
"owner": repository[0],
|
"owner": repository[0],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user