File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: nuget
33on :
44 push :
55 branches : [ main ]
6-
6+
77 # Allows you to run this workflow manually from the Actions tab
88 workflow_dispatch :
99
@@ -13,23 +13,23 @@ jobs:
1313 runs-on : ubuntu-latest
1414
1515 steps :
16- - uses : actions/checkout@v2
17- - name : Setup .NET
18- uses : actions/setup-dotnet@v1
19- with :
20- dotnet-version : 6.0.x
16+ - uses : actions/checkout@v2
17+ - name : Setup .NET
18+ uses : actions/setup-dotnet@v1
19+ with :
20+ dotnet-version : 6.0.x
2121
22- - name : Restore dependencies
23- run : dotnet restore
24- - name : Build
25- run : dotnet build --configuration Release
26- - name : Pack
27- run : dotnet pack -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --configuration Release
22+ - name : Restore dependencies
23+ run : dotnet restore
24+ - name : Build
25+ run : dotnet build --configuration Release
26+ - name : Pack
27+ run : dotnet pack -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --configuration Release
2828
29- - name : publish nuget packages
30- run : |
31- shopt -s globstar
32- for file in **/*.nupkg
33- do
34- dotnet nuget push "$file" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
35- done
29+ - name : publish nuget packages
30+ run : |
31+ shopt -s globstar
32+ for file in **/*.nupkg
33+ do
34+ dotnet nuget push "$file" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
35+ done
You can’t perform that action at this time.
0 commit comments