diff --git a/.github/workflows/publish-beta.yml b/.github/workflows/publish-beta.yml
index 9683f63..3223174 100644
--- a/.github/workflows/publish-beta.yml
+++ b/.github/workflows/publish-beta.yml
@@ -17,7 +17,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
- dotnet-version: 7.0.x
+ dotnet-version: 8.0.x
- name: Restore
run: |
dotnet restore NewLife.NetPing/NewLife.NetPing.csproj
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 3608656..cc9dc4a 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -15,7 +15,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
- dotnet-version: 7.0.x
+ dotnet-version: 8.0.x
- name: Restore
run: |
dotnet restore NewLife.NetPing/NewLife.NetPing.csproj
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 5319e58..60bc733 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -17,7 +17,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
- dotnet-version: 7.0.x
+ dotnet-version: 8.0.x
- name: Build
run: dotnet build -c Release
- name: Test
diff --git a/NewLife.NetPing/NewLife.NetPing.csproj b/NewLife.NetPing/NewLife.NetPing.csproj
index 3132330..5890e04 100644
--- a/NewLife.NetPing/NewLife.NetPing.csproj
+++ b/NewLife.NetPing/NewLife.NetPing.csproj
@@ -37,14 +37,14 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
diff --git a/Test/Test.csproj b/Test/Test.csproj
index d984dec..b19b058 100644
--- a/Test/Test.csproj
+++ b/Test/Test.csproj
@@ -2,7 +2,7 @@
Exe
- net6.0
+ net8.0
..\Bin\Test
false
enable