Skip to content

Commit 192e3ab

Browse files
authored
Add github workflow basic build yml (#166)
1 parent 87d00a6 commit 192e3ab

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/dotnet.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: .NET
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
runs-on: windows-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Setup .NET
15+
uses: actions/setup-dotnet@v1
16+
with:
17+
dotnet-version: '8.0.x'
18+
- name: Restore source-indexer.sln
19+
run: dotnet restore src/source-indexer.sln
20+
- name: Build source-indexer.sln
21+
run: dotnet build --no-restore src/source-indexer.sln

0 commit comments

Comments
 (0)