Skip to content

Commit 7102b1f

Browse files
committed
build: add build pipeline
1 parent 1b8b4c2 commit 7102b1f

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/net-build.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: .NET Build
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [ main ]
7+
8+
jobs:
9+
build:
10+
runs-on: windows-latest
11+
steps:
12+
- name: Setup .NET
13+
uses: actions/setup-dotnet@v3
14+
with:
15+
dotnet-version: 8.0.x
16+
- name: Build
17+
run: dotnet build

DotNetCliCodeSnippets.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
99
ProjectSection(SolutionItems) = preProject
1010
.gitignore = .gitignore
1111
README.md = README.md
12+
.github\workflows\net-build.yml = .github\workflows\net-build.yml
1213
EndProjectSection
1314
EndProject
1415
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DotnetWebhookCodeSnippets", "DotNetWebhookCodeSnippets\DotnetWebhookCodeSnippets.csproj", "{1FCFF60D-958E-4DAE-B890-214C05E750CC}"

0 commit comments

Comments
 (0)