File tree 2 files changed +40
-19
lines changed
2 files changed +40
-19
lines changed Original file line number Diff line number Diff line change
1
+ name : Build Package
2
+
3
+ on : push
4
+
5
+ defaults :
6
+ run :
7
+ working-directory : src
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ${{ matrix.os }}
12
+ strategy :
13
+ fail-fast : false
14
+ matrix :
15
+ os : [ubuntu-latest, windows-latest]
16
+
17
+ steps :
18
+ - name : Code Checkout
19
+ uses : actions/checkout@v2
20
+
21
+ - name : Install DotNet
22
+ uses : actions/setup-dotnet@v1
23
+
24
+ - name : Restore Dependencies
25
+ run : dotnet restore
26
+
27
+ - name : Build Package
28
+ run : dotnet build --no-restore -c Release
29
+
30
+ - name : Perform Unit Testing
31
+ run : dotnet test --no-build -c Release --verbosity normal
32
+
33
+ - name : Create Package
34
+ run : dotnet pack --no-build -c Release -o ./publish
35
+
36
+ - name : Create packages artifact
37
+ uses : actions/upload-artifact@v2
38
+ with :
39
+ name : Packages
40
+ path : ./src/publish/
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments