add win7 dev builds

This commit is contained in:
smartfrigde 2024-04-30 11:20:29 +02:00
parent f6adfbe0e0
commit afe0c6cc19

View file

@ -107,6 +107,40 @@ jobs:
with: with:
name: ArmCordWindows.zip name: ArmCordWindows.zip
path: dist/ArmCord-3.3.0-win.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: build-windowsOnARM:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
@ -148,6 +182,13 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 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 - uses: actions/download-artifact@v2
with: with:
name: ArmCordWindows.zip name: ArmCordWindows.zip
@ -167,6 +208,7 @@ jobs:
name: ArmCordWindowsArm64.zip name: ArmCordWindowsArm64.zip
path: windows path: windows
- name: Get some values needed for the release - name: Get some values needed for the release
id: vars id: vars
shell: bash shell: bash
@ -195,3 +237,4 @@ jobs:
linux/ArmCord-3.3.0-arm64.zip linux/ArmCord-3.3.0-arm64.zip
windows/ArmCord-3.3.0-win.zip windows/ArmCord-3.3.0-win.zip
windows/ArmCord-3.3.0-arm64-win.zip windows/ArmCord-3.3.0-arm64-win.zip
windows/ArmCord-3.3.0-win7.zip