Skip to content

Commit

Permalink
fix:调整工作流文件 (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
zwtesttt authored May 31, 2024
1 parent af27cea commit ce0c9a5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/build-electron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ jobs:

- name: Build/release Electron app
uses: Yan-Jobs/[email protected]
# env:
# EP_DRAFT: false
# EP_PRE_RELEASE: false
# EP_RELEASE: true
with:
# GitHub token, automatically provided to the action
# (No need to define this secret in the repo settings)
Expand Down
7 changes: 6 additions & 1 deletion electron-builder.json5
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,10 @@
linux: {
target: ['AppImage'],
artifactName: '${productName}-${os}-${arch}-${version}.${ext}'
}
},
publish: {
provider: "github",
releaseType: "release",
publishAutoUpdate: false
}
}
7 changes: 0 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,5 @@
"vite-plugin-pages": "^0.32.1",
"vue-auto-translate": "^1.1.13"
},
"build": {
"publish": {
"provider": "github",
"releaseType": "release",
"publishAutoUpdate": false
}
},
"main": "dist-electron/main.js"
}

0 comments on commit ce0c9a5

Please sign in to comment.