mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-10 07:50:19 +00:00
Simplify build matrix for Windows workflow
This commit is contained in:
committed by
GitHub
parent
4a40af7eda
commit
fd9cd61991
13
.github/workflows/windows-build.yml
vendored
13
.github/workflows/windows-build.yml
vendored
@@ -20,13 +20,8 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
platform: [x64, win32]
|
platform: [x64]
|
||||||
arch: [x64, x86]
|
arch: [x64]
|
||||||
exclude:
|
|
||||||
- platform: x64
|
|
||||||
arch: x86
|
|
||||||
- platform: win32
|
|
||||||
arch: x64
|
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -39,7 +34,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
New-Item -Name "deps" -ItemType "Directory"
|
New-Item -Name "deps" -ItemType "Directory" -Force | Out-Null
|
||||||
|
|
||||||
Invoke-WebRequest https://files.jrsoftware.org/is/6/innosetup-6.7.0.exe -OutFile deps\innosetup-unicode.exe
|
Invoke-WebRequest https://files.jrsoftware.org/is/6/innosetup-6.7.0.exe -OutFile deps\innosetup-unicode.exe
|
||||||
& deps\innosetup-unicode.exe /VERYSILENT | Out-Null
|
& deps\innosetup-unicode.exe /VERYSILENT | Out-Null
|
||||||
@@ -103,7 +98,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: Installer ${{ matrix.arch }}
|
name: Installer ${{ matrix.arch }}
|
||||||
path: ZoiteChat-*.exe
|
path: ZoiteChat-*.exe
|
||||||
|
|
||||||
- name: Attest Installer (Artifact Attestation)
|
- name: Attest Installer (Artifact Attestation)
|
||||||
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
|
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
|
||||||
uses: actions/attest-build-provenance@v3
|
uses: actions/attest-build-provenance@v3
|
||||||
|
|||||||
Reference in New Issue
Block a user