File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 types :
55 - published
66
7-
87jobs :
98 publish :
109 name : Publish
@@ -14,22 +13,22 @@ jobs:
1413 BW_PROJECT_TEST_NAME : Bandwidth.Iris.Tests
1514 runs-on : ubuntu-latest
1615 steps :
17- - uses : actions/checkout@v2
16+ - uses : actions/checkout@v3
1817
1918 - name : Set release version
2019 run : echo "RELEASE_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV
21- - uses : actions/setup-dotnet@v1
20+ - uses : actions/setup-dotnet@v3
2221 with :
23- dotnet-version : ' 3.1.x '
22+ dotnet-version : " 6.0 "
2423
2524 - name : Run unit tests
2625 run : dotnet test $BW_PROJECT_TEST_NAME
2726
2827 - name : Pack NuGet package
2928 run : dotnet pack --configuration Release $BW_PROJECT_NAME -p:PackageVersion=$RELEASE_VERSION
30-
29+
3130 - name : Publish NuGet package
3231 env :
3332 NUGET_KEY : ${{ secrets.NUGET_KEY }}
3433 NUGET_SOURCE : https://api.nuget.org/v3/index.json
35- run : dotnet nuget push $BW_PROJECT_NAME/bin/Release/*.nupkg -s $NUGET_SOURCE -k $NUGET_KEY
34+ run : dotnet nuget push $BW_PROJECT_NAME/bin/Release/*.nupkg -s $NUGET_SOURCE -k $NUGET_KEY
Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ jobs:
1515 dotnet : [6.0.x, 7.0.x]
1616 steps :
1717 - name : Checkout repo
18- uses : actions/checkout@v2
18+ uses : actions/checkout@v3
1919
2020 - name : Setup .NET
21- uses : actions/setup-dotnet@v1
21+ uses : actions/setup-dotnet@v3
2222 with :
2323 dotnet-version : ${{ matrix.dotnet }}
2424
You can’t perform that action at this time.
0 commit comments