File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1313
1414jobs :
1515 build-branch :
16- runs-on : ubuntu-latest
16+ runs-on : ubuntu-20.04
1717 steps :
1818 - name : Checkout
1919 uses : actions/checkout@v1
Original file line number Diff line number Diff line change 99
1010jobs :
1111 build-publish-dev :
12- runs-on : ubuntu-latest
12+ runs-on : ubuntu-20.04
1313 steps :
1414 - name : Checkout
1515 uses : actions/checkout@v1
Original file line number Diff line number Diff line change 77
88jobs :
99 build :
10- runs-on : ubuntu-latest
10+ runs-on : ubuntu-20.04
1111 steps :
1212 - name : Checkout
1313 uses : actions/checkout@v1
1414 - name : Setup .NET Core
1515 uses : actions/setup-dotnet@v1
16+ with :
17+ source-url : https://api.nuget.org/v3/index.json
18+ env :
19+ NUGET_AUTH_TOKEN : ${{secrets.NUGET_DEPLOY_KEY}}
1620 - name : Build
1721 run : dotnet build -c Release
1822 - name : Pack artifacts
2327 name : nupkg
2428 path : artifacts/*
2529 - name : Publish to NuGet
26- run : dotnet nuget push "artifacts/*.nupkg" --api-key ${{ secrets.NUGET_DEPLOY_KEY }} --source https://api.nuget.org/v3/index.json
30+ run : dotnet nuget push "artifacts/*.nupkg"
You can’t perform that action at this time.
0 commit comments