Skip to content

Commit 35ce33b

Browse files
committed
Update GitHub Actions workflow to install Android workload and enable Windows targeting for .NET build
Added a step to install the Android workload in the workflow and modified the build command to enable Windows targeting, enhancing compatibility for cross-platform development. Signed-off-by: sharpninja <[email protected]>
1 parent b95486c commit 35ce33b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/static.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,14 @@ jobs:
4444
with:
4545
dotnet-version: '9.0.x'
4646

47+
- name: Install Android workload
48+
run: dotnet workload install android
49+
4750
- name: Restore dependencies
4851
run: dotnet restore FunWasHad.sln
4952

5053
- name: Build solution (generate XML documentation)
51-
run: dotnet build FunWasHad.sln --configuration Release --no-restore -p:GenerateDocumentationFile=true
54+
run: dotnet build FunWasHad.sln --configuration Release --no-restore -p:GenerateDocumentationFile=true -p:EnableWindowsTargeting=true
5255

5356
- name: Install DocFX
5457
run: dotnet tool install -g docfx

0 commit comments

Comments
 (0)