Skip to content

Commit e6a4dc7

Browse files
Merge pull request #10 from ravinder25886/feature/ci-test-setup
fix(CI): update upload-artifact action to v4 to avoid deprecation
2 parents 93fbeb2 + bb95f00 commit e6a4dc7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ jobs:
4141
- name: Build solution
4242
run: dotnet build $SOLUTION_PATH --no-restore --configuration Release
4343

44-
# Step 5: Run Unit Tests (xUnit) with diagnostic verbosity
44+
# Step 5: Run Unit Tests (xUnit) with normal verbosity
4545
- name: Run unit tests
46-
run: dotnet test $TEST_PROJECT_PATH --no-build --configuration Release --logger "trx;LogFileName=test_results.trx" --verbosity diagnostic
46+
run: dotnet test $TEST_PROJECT_PATH --no-build --configuration Release --logger "trx;LogFileName=test_results.trx" --verbosity normal
4747
# Step 6: Upload Test Results as Artifact
4848
- name: Upload Test Results as Artifact
49-
uses: actions/upload-artifact@v3
49+
uses: actions/upload-artifact@v4
5050
with:
5151
name: Test Results
52-
path: ${{ github.workspace }}/SimpleAPI.Test/bin/Release/net8.0/test_results.trx
52+
path: '**/test_results.trx'

0 commit comments

Comments
 (0)