Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DevoTalk authored Dec 25, 2024
1 parent a1e771a commit 976f7e3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Build and Publish .NET MAUI App

on:
push:
branches: [ "master" ]
Expand Down Expand Up @@ -49,12 +48,17 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Update Workloads
run: dotnet workload update
- name: Install .NET MAUI
run: dotnet workload install maui
- name: Restore dependencies
run: dotnet restore
- name: Build Windows
run: dotnet build -c Release -f net8.0-windows --no-restore
run: |
dotnet build -c Release -f net8.0-windows --no-restore \
/p:TargetPlatformVersion=10.0.17763.0 \
/p:SupportedOSPlatformVersion=10.0.17763.0
- name: List directory contents
run: |
ls -r
Expand Down

0 comments on commit 976f7e3

Please sign in to comment.