Skip to content

Commit 034754c

Browse files
authored
Update the version of github actions (#4)
1 parent ce8a1d3 commit 034754c

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/workflows/dotnet.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,17 @@ on:
99
jobs:
1010
build:
1111

12-
runs-on: ubuntu-latest
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
os: [ ubuntu-latest, windows-latest ]
1316

1417
steps:
15-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1619
- name: Setup .NET
17-
uses: actions/setup-dotnet@v1
20+
uses: actions/setup-dotnet@v4
1821
with:
19-
dotnet-version: 6.0.x
22+
dotnet-version: '6.0.x'
2023
- name: Restore dependencies
2124
run: dotnet restore "src/Apache.IoTDB/Apache.IoTDB.csproj"
2225
- name: Build

.github/workflows/e2e.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
steps:
1818

1919
- name: Check out code into the CSharp module directory
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
2121

2222
- name: Set Docker & Run Test
2323
run: |
2424
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
25-
25+
2626
- name: Clean IoTDB & Shut Down Docker
2727
run: |
2828
docker-compose -f docker-compose.yml down

0 commit comments

Comments
 (0)