File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ tags :
7
+ - v*.*.*
8
+ pull_request :
9
+ branches :
10
+ - master
11
+
12
+ jobs :
13
+ dotnet-template-azure-iot-edge-module :
14
+ name : dotnet-template-azure-iot-edge-module
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - uses : actions/checkout@v2
18
+ - uses : actions/setup-dotnet@v1
19
+ with :
20
+ dotnet-version : ' 3.1'
21
+ - run : mkdir -p .nuget
22
+ - name : Download nuget
23
+ run :
24
+ wget -O .nuget/nuget.exe
25
+ https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
26
+ - name : Install Nuget
27
+ run : mono .nuget/nuget.exe
28
+ - name : dotnet test
29
+ run : dotnet test Test/Test.csproj
30
+ - name : nuget package
31
+ run : mono .nuget/nuget.exe pack -NoDefaultExcludes
32
+ - name : GitHub Release
33
+ if : |
34
+ (success() &&
35
+ startsWith(github.ref, 'refs/tags/'))
36
+ uses : softprops/action-gh-release@v1
37
+ with :
38
+ files : ./**/*.nupkg
You can’t perform that action at this time.
0 commit comments