-
-
Notifications
You must be signed in to change notification settings - Fork 67
30 lines (25 loc) · 668 Bytes
/
dotnet.yml
File metadata and controls
30 lines (25 loc) · 668 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Dotnet CI build
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ develop, main ]
jobs:
build:
env:
SOLUTION: 'Xamarin-Sidebar.sln'
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.1.3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Install MAUI workload
run: dotnet workload install maui
- name: Install dependencies
run: dotnet restore $SOLUTION
- name: Build & Package
run: msbuild $SOLUTION -p:Configuration=Release -p:RestorePackages=false