File tree 1 file changed +13
-11
lines changed
1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change 14
14
jobs :
15
15
test-win :
16
16
runs-on : windows-latest
17
-
17
+
18
18
steps :
19
- - uses : actions/checkout@v2.3.4
19
+ - name : Checkout
20
+ uses : actions/checkout@v2.3.4
21
+ - name : Unshallow
22
+ run : git fetch --prune --unshallow
23
+ - name : Run tests on Windows for all targets
24
+ run : dotnet test -c Release
20
25
21
- - name : Run tests on Windows for all targets
22
- run : dotnet test -c Release
23
-
24
26
nuget :
25
27
runs-on : windows-latest
26
- needs : [test-win] # ,test-netcore-linux]
28
+ needs : [ test-win ] # ,test-netcore-linux]
27
29
28
30
steps :
29
- - uses : actions/checkout@v2.3.4
31
+ - uses : actions/checkout@v2.3.4
30
32
31
- - name : Create and push NuGet package
32
- run : |
33
- dotnet pack -c Release -o nuget -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
34
- dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
33
+ - name : Create and push NuGet package
34
+ run : |
35
+ dotnet pack -c Release -o nuget -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
36
+ dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
You can’t perform that action at this time.
0 commit comments