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

haonan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iotdb-client-csharp.git


The following commit(s) were added to refs/heads/main by this push:
     new 034754c  Update the version of github actions (#4)
034754c is described below

commit 034754c121aa56654561b8afcdafc2d4697c6238
Author: Haonan <[email protected]>
AuthorDate: Tue Feb 6 18:05:11 2024 +0800

    Update the version of github actions (#4)
---
 .github/workflows/dotnet.yml | 11 +++++++----
 .github/workflows/e2e.yml    |  4 ++--
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml
index 5797b16..72644de 100644
--- a/.github/workflows/dotnet.yml
+++ b/.github/workflows/dotnet.yml
@@ -9,14 +9,17 @@ on:
 jobs:
   build:
 
-    runs-on: ubuntu-latest
+    runs-on: ${{ matrix.os }}
+    strategy:
+      matrix:
+        os: [ ubuntu-latest, windows-latest ]
 
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v4
     - name: Setup .NET
-      uses: actions/setup-dotnet@v1
+      uses: actions/setup-dotnet@v4
       with:
-        dotnet-version: 6.0.x
+        dotnet-version: '6.0.x'
     - name: Restore dependencies
       run: dotnet restore "src/Apache.IoTDB/Apache.IoTDB.csproj"
     - name: Build
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index d539f3b..11acf98 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -17,12 +17,12 @@ jobs:
     steps:
 
     - name: Check out code into the CSharp module directory
-      uses: actions/checkout@v2
+      uses: actions/checkout@v4
 
     - name: Set Docker & Run Test
       run: |
         docker network create --subnet 172.18.0.0/24 iotdb-network && 
docker-compose -f docker-compose.yml up --build --abort-on-container-exit 
--remove-orphans
-        
+
     - name: Clean IoTDB & Shut Down Docker
       run: |
         docker-compose -f docker-compose.yml down

Reply via email to