Skip to content

Commit f8f5193

Browse files
authored
Chore(ci): Basic CI build (#1)
1 parent 8ae6e6e commit f8f5193

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/dotnet.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: .NET
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build:
9+
10+
runs-on: windows-2019
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Setup MSBuild
15+
uses: microsoft/setup-msbuild@v1
16+
17+
- name: Setup NuGet
18+
uses: NuGet/setup-nuget@v1.0.5
19+
20+
- name: setup-msbuild
21+
uses: microsoft/setup-msbuild@v1.1
22+
23+
- name: Restore Packages
24+
run: nuget restore WorkflowModerniser.sln
25+
26+
- name: Build solution
27+
run: msbuild WorkflowModerniser.sln -t:publish -property:Configuration=Release
28+
29+
- uses: actions/upload-artifact@v4
30+
with:
31+
name: WorkflowModerniser
32+
path: WorkflowModerniser\bin\Release\app.publish\

0 commit comments

Comments
 (0)