Skip to content

Commit 9d9248a

Browse files
committed
Create dotnet-ci.yaml
1 parent efc50bb commit 9d9248a

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/dotnet-ci.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: dotnet-ci
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: windows-latest
8+
9+
steps:
10+
- uses: actions/checkout@v3
11+
- name: Setup .NET SDK
12+
uses: actions/setup-dotnet@v2
13+
with:
14+
dotnet-version: '8.0.x'
15+
- name: Install .NET MAUI
16+
run: dotnet workload install maui
17+
- name: Restore dependencies
18+
run: dotnet restore ./src/GeneralUpdate.Maui.sln
19+
- name: build
20+
run: dotnet build ./src/GeneralUpdate.Maui.sln -c Release

0 commit comments

Comments
 (0)