Skip to content

Commit 9571207

Browse files
committed
升级程序到 NET 7
1 parent 370ac66 commit 9571207

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup .NET
1717
uses: actions/setup-dotnet@v1
1818
with:
19-
dotnet-version: 6.0.x
19+
dotnet-version: 7.0.x
2020

2121
- name: Restore dependencies
2222
run: dotnet restore
@@ -31,7 +31,7 @@ jobs:
3131
- name: Create zip
3232
shell: pwsh
3333
# 配置【编译后的文件地址】
34-
run: Compress-Archive -Path .\src\bin\Release\net6.0-windows\* -DestinationPath .\src\bin\Release\FindDuplicateFiles_${{ steps.tagName.outputs.tag }}.zip
34+
run: Compress-Archive -Path .\src\bin\Release\net7.0-windows\* -DestinationPath .\src\bin\Release\FindDuplicateFiles_${{ steps.tagName.outputs.tag }}.zip
3535

3636
- name: Release
3737
uses: softprops/action-gh-release@v1

src/FindDuplicateFiles.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>WinExe</OutputType>
5-
<TargetFramework>net6.0-windows</TargetFramework>
5+
<TargetFramework>net7.0-windows</TargetFramework>
66
<UseWPF>true</UseWPF>
77
<UseWindowsForms>true</UseWindowsForms>
88
<ApplicationIcon>icon.ico</ApplicationIcon>
@@ -210,8 +210,8 @@
210210
</ItemGroup>
211211

212212
<ItemGroup>
213-
<PackageReference Include="JiuLing.AutoUpgrade" Version="1.2.4" />
214-
<PackageReference Include="JiuLing.CommonLibs" Version="1.2.3" />
213+
<PackageReference Include="JiuLing.AutoUpgrade" Version="1.2.8" />
214+
<PackageReference Include="JiuLing.CommonLibs" Version="1.5.2" />
215215
</ItemGroup>
216216

217217
<ItemGroup>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
首次运行时需要安装.Net6运行时,下载地址:
2-
https://aka.ms/dotnet/6.0/windowsdesktop-runtime-win-x64.exe
1+
首次运行时需要安装.Net7运行时,下载地址:
2+
https://aka.ms/dotnet/7.0/windowsdesktop-runtime-win-x64.exe

0 commit comments

Comments
 (0)