From 1637ae4d17317533644279f6859ab295c1a02e4e Mon Sep 17 00:00:00 2001 From: lyswhut Date: Mon, 25 Dec 2023 14:28:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9E=84=E5=BB=BA=E9=A1=BA?= =?UTF-8?q?=E5=BA=8F=E5=AF=BC=E8=87=B4=E7=9A=84=E6=9B=B4=E6=96=B0=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E8=A2=AB=E8=A6=86=E7=9B=96=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 18debbfb..c6f019fa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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