Skip to content

Commit e26f68f

Browse files
committed
修复 CI 错误
1 parent a850c89 commit e26f68f

1 file changed

Lines changed: 20 additions & 2 deletions

File tree

.github/workflows/build-and-package.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
msbuild-architecture: x64
5252

5353
# Restore the application to populate the obj folder with RuntimeIdentifiers
54-
- name: Restore the application
54+
- name: Restore the application (x64)
5555
run: msbuild $env:Solution_Name `
5656
/t:Restore `
5757
/p:Configuration=$env:Configuration `
@@ -60,6 +60,24 @@ jobs:
6060
Configuration: Release
6161
Platform: x64
6262

63+
- name: Restore the application (x86)
64+
run: msbuild $env:Solution_Name `
65+
/t:Restore `
66+
/p:Configuration=$env:Configuration `
67+
/p:Platform=$env:Platform
68+
env:
69+
Configuration: Release
70+
Platform: x86
71+
72+
- name: Restore the application (ARM64)
73+
run: msbuild $env:Solution_Name `
74+
/t:Restore `
75+
/p:Configuration=$env:Configuration `
76+
/p:Platform=$env:Platform
77+
env:
78+
Configuration: Release
79+
Platform: ARM64
80+
6381
# Create the app package by building and packaging the Windows Application Packaging project
6482
- name: Create the app package
6583
run: msbuild $env:Solution_Name `
@@ -81,7 +99,7 @@ jobs:
8199
Build_ID: ${{ github.run_number }}
82100
Publisher_Name: CN=where
83101
Appx_Bundle: Always
84-
Appx_Bundle_Platforms: x64|ARM64
102+
Appx_Bundle_Platforms: x64|x86|ARM64
85103
Appx_Package_Build_Mode: SideloadOnly
86104
Appx_Package_Dir: AppxPackages\
87105
Configuration: Release

0 commit comments

Comments
 (0)