Skip to content

Commit dedab93

Browse files
authored
Add simple build pipeline (#3)
Added a very simple build pipeline to validate if project at a whole builds and as preparation for later unit test execution.
1 parent d7d5957 commit dedab93

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Build ConnyConsole
2+
3+
on:
4+
push:
5+
branches:
6+
- "develop"
7+
- "master"
8+
pull_request:
9+
branches:
10+
- "develop"
11+
- "master"
12+
workflow_dispatch:
13+
14+
env:
15+
solutionPath: './src/ConnyConsole.sln'
16+
17+
jobs:
18+
build:
19+
20+
runs-on: windows-latest
21+
22+
steps:
23+
- uses: actions/checkout@v4
24+
- name: Setup .NET
25+
uses: actions/setup-dotnet@v4
26+
with:
27+
dotnet-version: 9.0.x
28+
- name: Restore dependencies
29+
run: dotnet restore ${{ env.solutionPath }}
30+
- name: Build
31+
run: dotnet build --no-restore ${{ env.solutionPath }}

0 commit comments

Comments
 (0)