Skip to content

Commit 46a4f7f

Browse files
setup msbuild
1 parent ee2e089 commit 46a4f7f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/ci-sample.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919
uses: actions/setup-dotnet@v2
2020
with:
2121
dotnet-version: 6.0.x
22+
- name: Add msbuild to PATH
23+
uses: microsoft/[email protected]
2224
- name: Install .NET MAUI
2325
run: dotnet workload install maui
2426
- name: Build
25-
run: msbuild samples\ScreenBrightnessSample.sln -c Release
27+
run: msbuild samples\ScreenBrightnessSample.sln -property:Configuration=Release

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919
uses: actions/setup-dotnet@v2
2020
with:
2121
dotnet-version: 6.0.x
22+
- name: Add msbuild to PATH
23+
uses: microsoft/[email protected]
2224
- name: Install .NET MAUI
2325
run: dotnet workload install maui
2426
- name: Build
25-
run: msbuild src\Plugin.Maui.ScreenBrightness.sln -c Release
27+
run: msbuild src\Plugin.Maui.ScreenBrightness.sln -property:Configuration=Release

0 commit comments

Comments
 (0)