修复构建顺序导致的更新信息被覆盖的问题

pull/1761/head
lyswhut 2023-12-25 14:28:16 +08:00
parent f46a08fe89
commit 1637ae4d17
1 changed files with 24 additions and 0 deletions

View File

@ -65,6 +65,30 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BT_TOKEN: ${{ secrets.BT_TOKEN }}
- name: Generate file MD5
run: |
cd build
Get-FileHash *.exe,*.7z -Algorithm MD5 | Format-List
Windows_7:
name: Windows
runs-on: windows-latest
env:
NPM_CACHE: '%APPDATA%\npm-cache'
ELECTRON_CACHE: '%LOCALAPPDATA%\electron\Cache'
ELECTRON_BUILDERCACHE: '%LOCALAPPDATA%\electron-builder\Cache'
# needs: CheckCode
steps:
- name: Check out git repository
uses: actions/checkout@v4
- name: Setup Node Env
uses: ./.github/actions/setup
- name: Build src code
run: npm run build
- name: Prepare win7 electron env
run: |
npm install electron@22