Commit 4b7742a MerrickZ
committed
1 parent 7b0eeb4 commit 4b7742a Copy full SHA for 4b7742a
File tree 2 files changed +28
-2
lines changed
2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will build a .NET project
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
3
+
4
+ name : build
5
+
6
+ on :
7
+ pull_request :
8
+ branches : [ "main" ]
9
+
10
+ jobs :
11
+ build :
12
+ runs-on : windows-latest
13
+
14
+ steps :
15
+ - uses : actions/checkout@v4
16
+ - name : Setup .NET
17
+ uses : actions/setup-dotnet@v4
18
+ with :
19
+ dotnet-version : 8.0.x
20
+ - name : Restore dependencies
21
+ run : dotnet restore
22
+ - name : Build
23
+ run : dotnet build --no-restore --configuration Release
24
+ - name : Test
25
+ run : dotnet test --no-build --verbosity normal
Original file line number Diff line number Diff line change @@ -6,8 +6,9 @@ name: build and release
6
6
on :
7
7
push :
8
8
branches : [ "main" ]
9
- pull_request :
10
- branches : [ "main" ]
9
+ tags :
10
+ - ' v*'
11
+
11
12
12
13
jobs :
13
14
build :
You can’t perform that action at this time.
0 commit comments