Skip to content

Commit 6a6eb88

Browse files
committed
Fix: release script
1 parent adae89f commit 6a6eb88

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
shell: bash
1919
run: |
2020
dotnet tool update -g dotnet-vs
21-
vs modify preview +mobile +desktop +uwp +web
21+
vs modify preview +mobile +xamarin +core +desktop +uwp +web
2222
echo "##vso[task.prependpath]$(vs where preview --prop=InstallationPath)\MSBuild\Current\Bin"
2323
2424
- name: Install Windows SDK 10.0.16299
@@ -62,9 +62,10 @@ jobs:
6262
dotnet workload install tvos
6363
dotnet workload install macos
6464
dotnet workload install maui
65+
dotnet workload restore "src/ReactiveUI/ReactiveUI.csproj"
6566
dotnet tool install -g Redth.Net.Maui.Check
6667
maui-check --non-interactive --fix
67-
68+
6869
- name: Add MSBuild to PATH
6970
uses: glennawatson/[email protected]
7071
with:
@@ -76,12 +77,13 @@ jobs:
7677
with:
7778
setAllVars: true
7879

79-
- name: NuGet Restore
80-
run: dotnet restore
80+
- name: NuGet restore
81+
run: |
82+
dotnet restore ReactiveUI.sln
8183
working-directory: src
8284

8385
- name: Build
84-
run: msbuild /t:build,pack /nowarn:MSB4011 /maxcpucount /p:NoPackageAnalysis=true /verbosity:minimal /p:Configuration=${{ env.configuration }}
86+
run: msbuild /t:build,pack /nowarn:MSB4011 /p:NoPackageAnalysis=true /verbosity:minimal /p:Configuration=${{ env.configuration }} ReactiveUI.sln
8587
working-directory: src
8688

8789
- name: Save SignClient Configuration

0 commit comments

Comments
 (0)