Skip to content

Commit

Permalink
Fix: release script
Browse files Browse the repository at this point in the history
  • Loading branch information
glennawatson committed Oct 31, 2021
1 parent adae89f commit 6a6eb88
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
shell: bash
run: |
dotnet tool update -g dotnet-vs
vs modify preview +mobile +desktop +uwp +web
vs modify preview +mobile +xamarin +core +desktop +uwp +web
echo "##vso[task.prependpath]$(vs where preview --prop=InstallationPath)\MSBuild\Current\Bin"
- name: Install Windows SDK 10.0.16299
Expand Down Expand Up @@ -62,9 +62,10 @@ jobs:
dotnet workload install tvos
dotnet workload install macos
dotnet workload install maui
dotnet workload restore "src/ReactiveUI/ReactiveUI.csproj"
dotnet tool install -g Redth.Net.Maui.Check
maui-check --non-interactive --fix
- name: Add MSBuild to PATH
uses: glennawatson/setup-msbuild@v1.0.3
with:
Expand All @@ -76,12 +77,13 @@ jobs:
with:
setAllVars: true

- name: NuGet Restore
run: dotnet restore
- name: NuGet restore
run: |
dotnet restore ReactiveUI.sln
working-directory: src

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

- name: Save SignClient Configuration
Expand Down

0 comments on commit 6a6eb88

Please sign in to comment.