File tree Expand file tree Collapse file tree 5 files changed +84
-0
lines changed Expand file tree Collapse file tree 5 files changed +84
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : .NET Core Release
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - ' master'
7
+
8
+ jobs :
9
+ test :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v2
13
+ - name : Setup .NET Core
14
+ uses : actions/setup-dotnet@v1
15
+ with :
16
+ dotnet-version : 3.1.101
17
+ - name : Test
18
+ run : ./build.sh --target test --no-logo
19
+ semantic-release :
20
+ runs-on : ubuntu-latest
21
+ needs : test
22
+ steps :
23
+ - uses : actions/checkout@v2
24
+ with :
25
+ fetch-depth : 1
26
+ - name : Setup .NET Core
27
+ uses : actions/setup-dotnet@v1
28
+ with :
29
+ dotnet-version : 3.1.101
30
+ - name : Semantic Release
31
+ uses : cycjimmy/semantic-release-action@v2
32
+ with :
33
+ extra_plugins : |
34
+ @semantic-release/exec
35
+ env :
36
+ NUGET_SERVER : ${{ secrets.NUGET_SERVER }}
37
+ NUGET_KEY : ${{ secrets.NUGET_KEY }}
38
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ name : .NET Core Testing
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - ' *'
7
+ - ' !master'
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+ - name : Setup .NET Core
15
+ uses : actions/setup-dotnet@v1
16
+ with :
17
+ dotnet-version : 3.1.101
18
+ - name : Test
19
+ run : ./build.sh --target test --no-logo
Original file line number Diff line number Diff line change
1
+ {
2
+ "verifyConditions" : [" @semantic-release/github" ],
3
+ "addChannel" : [" @semantic-release/github" ],
4
+ "prepare" : [
5
+ [
6
+ " @semantic-release/exec" ,
7
+ {
8
+ "prepareCmd" : " ./build.sh --no-logo --version ${nextRelease.version} --release-notes \" ${nextRelease.notes}\" --target Pack"
9
+ }
10
+ ]
11
+ ],
12
+ "publish" : [
13
+ [
14
+ " @semantic-release/github" ,
15
+ {
16
+ "assets" : [{ "path" : " artifacts/*.nupkg" }]
17
+ }
18
+ ],
19
+ [
20
+ " @semantic-release/exec" ,
21
+ {
22
+ "publishCmd" : " ./build.sh --no-logo --target Publish"
23
+ }
24
+ ]
25
+ ]
26
+ }
Original file line number Diff line number Diff line change 6
6
<Nullable >enable</Nullable >
7
7
<LangVersion >8</LangVersion >
8
8
<Authors >Christoph Bühler</Authors >
9
+ <Company >smartive AG</Company >
9
10
</PropertyGroup >
10
11
11
12
<PropertyGroup >
You can’t perform that action at this time.
0 commit comments