From afe0c6cc1958f3b6e90589b489814a120187c388 Mon Sep 17 00:00:00 2001 From: smartfrigde <37928912+smartfrigde@users.noreply.github.com> Date: Tue, 30 Apr 2024 11:20:29 +0200 Subject: [PATCH] add win7 dev builds --- .github/workflows/dev.yml | 43 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index d6c40e0..8ffb710 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -107,6 +107,40 @@ jobs: with: name: ArmCordWindows.zip path: dist/ArmCord-3.3.0-win.zip + build-legacywindows: + runs-on: windows-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - uses: pnpm/action-setup@v2 # Install pnpm using packageManager key in package.json + + - name: Use Node.js 18 + uses: actions/setup-node@v2 + with: + node-version: 18 + cache: "pnpm" + + - name: Install Node dependencies + run: pnpm install -g cargo-cp-artifact && pnpm install + + - name: Install Electron-Builder + run: pnpm install -g electron-builder + + - name: Install Electron 22 + run: pnpm install electron@v22.3.27 + + - name: Replace the version number + run: (Get-Content src/utils.ts) -replace "\d\.\d\.\d", "DEV" | Out-File src/utils.ts + + - name: Build + run: npm run build && electron-builder --windows zip + + - name: Upload artifact + uses: actions/upload-artifact@v2 + with: + name: ArmCordLegacyWindows + path: dist/ArmCord-3.3.0-win.zip build-windowsOnARM: runs-on: windows-latest steps: @@ -147,6 +181,13 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 + + - uses: actions/download-artifact@v2 + with: + name: ArmCordLegacyWindows + path: windows + - name: Rename E22 zip + run: mv windows/ArmCord-3.3.0-win.zip windows/ArmCord-3.3.0-win7.zip - uses: actions/download-artifact@v2 with: @@ -166,6 +207,7 @@ jobs: with: name: ArmCordWindowsArm64.zip path: windows + - name: Get some values needed for the release id: vars @@ -195,3 +237,4 @@ jobs: linux/ArmCord-3.3.0-arm64.zip windows/ArmCord-3.3.0-win.zip windows/ArmCord-3.3.0-arm64-win.zip + windows/ArmCord-3.3.0-win7.zip