File tree Expand file tree Collapse file tree 2 files changed +12
-11
lines changed
Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 1010 steps :
1111 - uses : actions/checkout@v1
1212
13- - name : Build Project
14- run : ./build.ps1
15- shell : powershell
13+ - name : Setup .NET Core
14+ uses : actions/setup-dotnet@v1
15+ with :
16+ dotnet-version : 3.1.200
17+
18+ - name : Run the Cake script
19+ uses : ecampidoglio/cake-action@master
1620
1721 - uses : actions/upload-artifact@master
1822 with :
Original file line number Diff line number Diff line change @@ -12,21 +12,18 @@ jobs:
1212 - name : Setup .NET Core
1313 uses : actions/setup-dotnet@v1
1414 with :
15- dotnet-version : ' 3.1.100'
16-
17- - uses : actions/checkout@v1
15+ dotnet-version : 3.1.200
1816
19- - name : Build Project
20- run : ./build.ps1
21- shell : powershell
17+ - name : Run the Cake script
18+ uses : ecampidoglio/cake-action@master
2219
2320 - uses : actions/upload-artifact@master
2421 with :
2522 name : NugetPackage
2623 path : artifacts
2724
2825 - name : Publish NuGet Package (NuGet.org)
29- run : dotnet nuget push artifacts/**/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
26+ run : dotnet nuget push artifacts/**/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json -n true
3027
3128 - name : Publish NuGet Package (GitHub)
32- run : dotnet nuget push artifacts/**/*.nupkg -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/redth-org/index.json
29+ run : dotnet nuget push artifacts/**/*.nupkg -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/redth-org/index.json -n true
You can’t perform that action at this time.
0 commit comments