You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2024/02/06 10:01:22 UTC
(iotdb-client-csharp) 01/01: Update the version of github actions
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch update_action_versions
in repository https://gitbox.apache.org/repos/asf/iotdb-client-csharp.git
commit 4135ead9cf25de257dad5819643067229e40ea7d
Author: HTHou <hh...@outlook.com>
AuthorDate: Tue Feb 6 18:01:08 2024 +0800
Update the version of github actions
---
.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