File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change 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 >
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 >
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments