This is an automated email from the ASF dual-hosted git repository.

blankensteiner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-dotpulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new ef700b2  Update ci-unit.yaml (#178)
ef700b2 is described below

commit ef700b283d5f5db61dff002df5e7d6c6c60b6d64
Author: Kristian Andersen <[email protected]>
AuthorDate: Tue Sep 19 09:44:20 2023 +0200

    Update ci-unit.yaml (#178)
    
    * Update ci-unit.yaml
    
    Update to latest step and print out the dotnet version used
    
    * Update ci-unit.yaml
    
    Fix missing '
---
 .github/workflows/ci-unit.yaml | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/ci-unit.yaml b/.github/workflows/ci-unit.yaml
index 765b933..2844db8 100644
--- a/.github/workflows/ci-unit.yaml
+++ b/.github/workflows/ci-unit.yaml
@@ -33,12 +33,15 @@ jobs:
     steps:
       - uses: actions/checkout@v3
       - name: Setup dotnet
-        uses: actions/setup-dotnet@v2
+        uses: actions/setup-dotnet@v3
+        id: setupstep
         with:
           dotnet-version: '7.0.x'
 
       - name: run unit tests
-        run: dotnet test ./tests/DotPulsar.Tests/DotPulsar.Tests.csproj 
--logger "trx;verbosity=detailed"
+        run: |
+          echo 'Dotnet Version: ${{ steps.setupstep.outputs.dotnet-version }}'
+          dotnet test ./tests/DotPulsar.Tests/DotPulsar.Tests.csproj --logger 
"trx;verbosity=detailed"
 
       - name: package artifacts
         if: failure()
@@ -61,11 +64,13 @@ jobs:
     steps:
       - uses: actions/checkout@v3
       - name: Setup dotnet
-        uses: actions/setup-dotnet@v2
+        uses: actions/setup-dotnet@v3
+        id: setupstep
         with:
           dotnet-version: '7.0.x'
       - name: Build docs with docfx
         run: |
+          echo 'Dotnet Version: ${{ steps.setupstep.outputs.dotnet-version }}'
           dotnet tool update -g docfx
           dotnet build -p:TargetFramework=net7.0
           docfx docs/api/docfx.json

Reply via email to