File tree Expand file tree Collapse file tree 2 files changed +25
-12
lines changed
Expand file tree Collapse file tree 2 files changed +25
-12
lines changed Original file line number Diff line number Diff line change 11name : Main
22
3- on : [push]
3+ on :
4+ push :
5+ branches :
6+ - master
47
58jobs :
69 main :
Original file line number Diff line number Diff line change 11name : Release
22
3- on : [release]
3+ on :
4+ push :
5+ branches :
6+ - ' !*'
7+ tags :
8+ - ' *'
49
510jobs :
611 release :
@@ -10,23 +15,28 @@ jobs:
1015 steps :
1116 - name : Checkout
1217 uses : actions/checkout@v1
13-
14- - name : Setup node.js
15- uses : actions/setup-node@v1
16- with :
17- node-version : 12.x
1818
1919 - name : Setup .NET Core
2020 uses : actions/setup-dotnet@v1
2121 with :
2222 dotnet-version : 2.2.108
2323
24- - name : Pack
25- run : npm run nuget:pack
24+ - name : Build
25+ run : dotnet build ./src/SharpDeck.sln --configuration Release
2626 env :
2727 DOTNET_SKIP_FIRST_TIME_EXPERIENCE : true
2828
29- - name : Push to NuGet
30- run : npm run nuget:push
29+ - name : Test
30+ run : dotnet test ./src/SharpDeck.Tests/ --configuration Release --no-build
3131 env :
32- NUGET_API_KEY : ${{ secrets.NUGET_API_KEY }}
32+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE : true
33+
34+ - name : Setup node.js
35+ uses : actions/setup-node@v1
36+ with :
37+ node-version : 12.x
38+
39+ - name : Pack
40+ run : npm run nuget:pack
41+ env :
42+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE : true
You can’t perform that action at this time.
0 commit comments