Skip to content

Commit 1392990

Browse files
committed
build(ci): Remove the fixed win-x64 runtime identifier and add support for multiple runtimes
- Remove the hard-coded win-x64 RuntimeIdentifier from the project configuration - Add restore support for win-x64, win-x86, and win-arm64 in the CI release process
1 parent be2ae50 commit 1392990

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,9 @@ jobs:
190190
- name: Clean and Restore dependencies
191191
run: |
192192
dotnet clean DevTools.csproj -c Release
193-
dotnet restore DevTools.csproj -p:Configuration=Release
193+
dotnet restore DevTools.csproj -r win-x64
194+
dotnet restore DevTools.csproj -r win-x86
195+
dotnet restore DevTools.csproj -r win-arm64
194196
195197
- name: Update Package.appxmanifest
196198
shell: pwsh

DevTools.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<ApplicationManifest>app.manifest</ApplicationManifest>
1313
<ApplicationIcon>Resources\Images\logo.ico</ApplicationIcon>
1414
<ApplicationHighDpiMode>PerMonitorV2</ApplicationHighDpiMode>
15-
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
1615
</PropertyGroup>
1716

1817
<ItemGroup>

0 commit comments

Comments
 (0)