Skip to content

Commit 92b335e

Browse files
authored
Merge pull request #71 from Bandwidth/DX-3099
DX-3099 Update `actions/checkout` and `actions/setup-*`
2 parents 475b1f6 + 58bdd1b commit 92b335e

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
types:
55
- published
66

7-
87
jobs:
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

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)