in CI/CD, allow publishing to github if release is more than 2 hours old electron-userland/electron-builder#2074
This commit is contained in:
3
.github/workflows/deploy-desktop.yaml
vendored
3
.github/workflows/deploy-desktop.yaml
vendored
@@ -29,4 +29,5 @@ jobs:
|
||||
- name: Publish desktop app
|
||||
run: npm run electron:build -- -p always # https://nklayman.github.io/vue-cli-plugin-electron-builder/guide/recipes.html#upload-release-to-github
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
EP_GH_IGNORE_TIME: true # Otherwise publishing fails if GitHub release is more than 2 hours old https://github.com/electron-userland/electron-builder/issues/2074
|
||||
Reference in New Issue
Block a user