File tree Expand file tree Collapse file tree 1 file changed +21
-17
lines changed Expand file tree Collapse file tree 1 file changed +21
-17
lines changed Original file line number Diff line number Diff line change 1
1
name : CI
2
- on : [push]
3
- # push:
4
- # branches:
5
- # - master
6
- # tags:
7
- # - v*.*.*
8
- # pull_request:
9
- # branches:
10
- # - master
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ tags :
8
+ - v*.*.*
9
+ pull_request :
10
+ branches :
11
+ - master
11
12
12
13
jobs :
13
- Build :
14
- runs-on : ' ${{ matrix.os }}'
15
- strategy :
16
- matrix :
17
- os :
18
- - ubuntu-latest
14
+ dotnet-template-azure-iot-edge-module :
15
+ name : dotnet-template-azure-iot-edge-module
16
+ runs-on : ubuntu-latest
19
17
steps :
20
18
- uses : actions/checkout@v2
21
- - run : mkdir -p .nuget
22
- - run : >-
19
+ - name : Install NodeJs
20
+ uses : actions/setup-node@v1
21
+ with :
22
+ node-version : 16.x
23
+ run : mkdir -p .nuget
24
+ - name : Download nugget
25
+ - run : >-
23
26
wget -O .nuget/nuget.exe
24
27
https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
25
28
- run : mono .nuget/nuget.exe
29
+ - name : dotnet test
26
30
- run : dotnet test Test/Test.csproj
27
31
- run : mono .nuget/nuget.exe pack -NoDefaultExcludes
28
32
- name : GitHub Release
You can’t perform that action at this time.
0 commit comments