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:
undergroundwires
2021-01-16 08:14:38 +01:00
parent 79a6c8b2ef
commit cf907d029a

View File

@@ -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