Skip to content

Commit f318e55

Browse files
authored
Update dotnet.yml
1 parent e667995 commit f318e55

File tree

1 file changed

+5
-17
lines changed

1 file changed

+5
-17
lines changed

.github/workflows/dotnet.yml

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,31 +13,19 @@ jobs:
1313
build:
1414

1515
runs-on: ubuntu-latest
16-
services:
17-
taos:
18-
image: tdengine/tdengine:3.0.2.1
19-
ports:
20-
- 6030:6030
21-
- 6035:6035
22-
- 6041:6041
23-
- 6030-6040:6030-6040/udp
24-
2516
steps:
2617
- uses: actions/checkout@v3
18+
- name: Setup TDengine
19+
uses: iotsharp/tdengine-action@v1
20+
with:
21+
influxdb_version: latest
2722
- name: Setup .NET
2823
uses: actions/setup-dotnet@v3
2924
with:
3025
dotnet-version: 7.0.x
3126
- name: Restore dependencies
3227
run: dotnet restore EFCore.Taos.sln
3328
- name: Build
34-
run: dotnet build -c Release --no-restore EFCore.Taos.sln
35-
- name: Install TDengine-client
36-
run: |
37-
curl -o TDengine-client.tar.gz "https://www.taosdata.com/assets-download/3.0/TDengine-client-3.0.2.1-Linux-x64.tar.gz" &&
38-
tar -xvf TDengine-client.tar.gz &&
39-
rm TDengine-client.tar.gz -f &&
40-
cd $(ls TDengine-client* -d) &&
41-
./install_client.sh
29+
run: dotnet build -c Release --no-restore EFCore.Taos.sln
4230
- name: Test
4331
run: dotnet run -c Release --no-build --no-restore --project src/Example/

0 commit comments

Comments
 (0)