Skip to content

Commit cc1697d

Browse files
authored
SWI-5874 Update Deploy Workflow (#117)
1 parent d1fdd65 commit cc1697d

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/deploy.yml

+13-13
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,17 @@ jobs:
4545
fi
4646
4747
- name: Checkout
48-
uses: actions/checkout@v3
48+
uses: actions/checkout@v4
4949
with:
5050
ref: feature/openapi-generator-sdk
5151

5252
- name: Setup Dotnet
53-
uses: actions/setup-dotnet@v1
53+
uses: actions/setup-dotnet@v4
5454
with:
55-
dotnet-version: '7.0.x'
55+
dotnet-version: '8.0.x'
5656

57-
- name: Run functional tests
58-
run: dotnet test $BW_PROJECT_TEST_NAME
57+
- name: Run Unit Tests
58+
run: dotnet test src/Bandwidth.Standard.Test --filter DisplayName~Bandwidth.Standard.Test.Unit
5959

6060
- name: Pack NuGet package
6161
run: dotnet pack --configuration Release $BW_PROJECT_NAME -p:PackageVersion=$RELEASE_VERSION
@@ -67,7 +67,7 @@ jobs:
6767
run: dotnet nuget push $BW_PROJECT_NAME/bin/Release/*.nupkg -s $NUGET_SOURCE -k $NUGET_KEY
6868

6969
- name: Notify Slack of build status
70-
uses: Bandwidth/build-notify-slack-action@v1.0.0
70+
uses: Bandwidth/build-notify-slack-action@v2.0.0
7171
if: always()
7272
with:
7373
job-status: ${{ job.status }}
@@ -95,16 +95,16 @@ jobs:
9595
fi
9696
9797
- name: Checkout
98-
uses: actions/checkout@v3
98+
uses: actions/checkout@v4
9999

100100
- name: Setup Dotnet
101-
uses: actions/setup-dotnet@v1
101+
uses: actions/setup-dotnet@v4
102102
with:
103-
dotnet-version: '7.0.x'
103+
dotnet-version: '8.0.x'
104+
105+
- name: Run Unit Tests
106+
run: dotnet test src/Bandwidth.Standard.Test --filter DisplayName~Bandwidth.Standard.Test.Unit
104107

105-
- name: Run functional tests
106-
run: dotnet test $BW_PROJECT_TEST_NAME
107-
108108
- name: Pack NuGet package
109109
run: dotnet pack --configuration Release $BW_PROJECT_NAME -p:PackageVersion=$RELEASE_VERSION
110110

@@ -115,7 +115,7 @@ jobs:
115115
run: dotnet nuget push $BW_PROJECT_NAME/bin/Release/*.nupkg -s $NUGET_SOURCE -k $NUGET_KEY
116116

117117
- name: Notify Slack of build status
118-
uses: Bandwidth/build-notify-slack-action@v1.0.0
118+
uses: Bandwidth/build-notify-slack-action@v2.0.0
119119
if: always()
120120
with:
121121
job-status: ${{ job.status }}

0 commit comments

Comments
 (0)