File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed
Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,15 @@ jobs:
1212 BW_PROJECT_TEST_NAME : Bandwidth.StandardTests
1313 runs-on : ubuntu-latest
1414 steps :
15- - uses : actions/checkout@v2
15+ - uses : actions/checkout@v3
16+
1617 - name : Set release version
1718 run : echo "RELEASE_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV
18- - uses : actions/setup-dotnet@v1
19+
20+ - uses : actions/setup-dotnet@v3
1921 with :
20- dotnet-version : ' 3.1.x'
22+ dotnet-version : " 6.0"
23+
2124 - name : Run integration tests
2225 env :
2326 BW_ACCOUNT_ID : ${{ secrets.BW_ACCOUNT_ID }}
2932 USER_NUMBER : ${{ secrets.USER_NUMBER }}
3033 BASE_CALLBACK_URL : ${{ secrets.BASE_CALLBACK_URL }}
3134 run : dotnet test $BW_PROJECT_TEST_NAME
35+
3236 - name : Pack NuGet package
3337 run : dotnet pack --configuration Release $BW_PROJECT_NAME -p:PackageVersion=$RELEASE_VERSION
38+
3439 - name : Publish NuGet package
3540 env :
3641 NUGET_KEY : ${{ secrets.NUGET_KEY }}
Original file line number Diff line number Diff line change 11name : Test
22on :
33 schedule :
4- - cron : ' 0 4 * * *'
4+ - cron : " 0 4 * * *"
55 pull_request :
66 workflow_dispatch :
77
@@ -19,10 +19,10 @@ jobs:
1919 dotnet : [6.0.x, 7.0.x]
2020 steps :
2121 - name : Checkout repo
22- uses : actions/checkout@v2
22+ uses : actions/checkout@v3
2323
2424 - name : Setup .NET
25- uses : actions/setup-dotnet@v1
25+ uses : actions/setup-dotnet@v3
2626 with :
2727 dotnet-version : ${{ matrix.dotnet }}
2828
You can’t perform that action at this time.
0 commit comments