-
-
Notifications
You must be signed in to change notification settings - Fork 60
31 lines (23 loc) · 735 Bytes
/
Copy pathci-sample.yml
File metadata and controls
31 lines (23 loc) · 735 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
31
name: Build Sample App for CI
on:
push:
branches: [ "main" ]
paths-ignore:
- "**.md"
pull_request:
branches: [ "main" ]
jobs:
build-sample-ci:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x
- name: Install .NET MAUI Workload
run: dotnet workload restore samples\Plugin.Maui.Audio.Sample\Plugin.Maui.Audio.Sample.csproj
- name: Restore dependencies
run: dotnet restore samples\Plugin.Maui.Audio.Sample\Plugin.Maui.Audio.Sample.csproj
- name: Build
run: dotnet build samples\Plugin.Maui.Audio.Sample\Plugin.Maui.Audio.Sample.csproj -c Release