😱 添加自动更新代码

This commit is contained in:
hunlongyu
2020-05-07 15:12:17 +08:00
parent 3e345bf57b
commit b89b56cce4
3 changed files with 36 additions and 9 deletions

View File

@@ -21,7 +21,7 @@ jobs:
- run: |
yarn
yarn electron:build
yarn release
shell: pwsh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -30,10 +30,6 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: |
dist_electron/*.exe
dist_electron/win-unpacked/*.exe
dist_electron/*.dmg
dist_electron/*.snap
dist_electron/*.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}