This repository was archived by the owner on Apr 28, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +18
-20
lines changed
Expand file tree Collapse file tree 8 files changed +18
-20
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,13 @@ jobs:
1111 runs-on : ubuntu-latest
1212
1313 steps :
14- - uses : actions/checkout@v2
14+ - uses : actions/checkout@v4
1515
1616 - name : Setup dotnet
17- uses : actions/setup-dotnet@v1
17+ uses : actions/setup-dotnet@v4
1818 with :
1919 dotnet-version : |
20- 6.0.x
21- 7.0.x
20+ 8.0.x
2221
2322 - name : Build
2423 run : ./build.sh
@@ -27,14 +26,13 @@ jobs:
2726 runs-on : windows-latest
2827
2928 steps :
30- - uses : actions/checkout@v2
29+ - uses : actions/checkout@v4
3130
3231 - name : Setup dotnet
33- uses : actions/setup-dotnet@v1
32+ uses : actions/setup-dotnet@v4
3433 with :
3534 dotnet-version : |
36- 6.0.x
37- 7.0.x
35+ 8.0.x
3836
3937 - name : Build
4038 run : |
Original file line number Diff line number Diff line change 1010 "request" : " launch" ,
1111 "preLaunchTask" : " build" ,
1212 // If you have changed target frameworks, make sure to update the program path.
13- "program" : " ${workspaceRoot}/ElectronNET.CLI/bin/Debug/netcoreapp2 .0/dotnet-electronize.dll" ,
13+ "program" : " ${workspaceRoot}/src/ ElectronNET.CLI/bin/Debug/net8 .0/dotnet-electronize.dll" ,
1414 "args" : [],
15- "cwd" : " ${workspaceRoot}/ElectronNET.CLI" ,
15+ "cwd" : " ${workspaceRoot}/src/ ElectronNET.CLI" ,
1616 // For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window
1717 "console" : " internalConsole" ,
1818 "stopAtEntry" : false ,
Original file line number Diff line number Diff line change 77 "label" : " build" ,
88 "type" : " shell" ,
99 "command" : " dotnet" ,
10- "args" : [" build" , " ${workspaceRoot}/ElectronNET.CLI/ElectronNET.CLI.csproj" ],
10+ "args" : [" build" , " ${workspaceRoot}/src/ ElectronNET.CLI/ElectronNET.CLI.csproj" ],
1111 "problemMatcher" : " $msCompile" ,
1212 "group" : {
1313 "_id" : " build" ,
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ protected override void OnBuildInitialized()
109109 . Before ( Restore )
110110 . Executes ( ( ) =>
111111 {
112- SourceDirectory . GlobDirectories ( "**/bin" , "**/obj" ) . ForEach ( DeleteDirectory ) ;
112+ SourceDirectory . GlobDirectories ( "**/bin" , "**/obj" ) . ForEach ( dir => dir . DeleteDirectory ( ) ) ;
113113 } ) ;
114114
115115 Target Restore => _ => _
@@ -244,7 +244,7 @@ protected override void OnBuildInitialized()
244244 throw new BuildAbortedException ( "Could not resolve the NuGet API key." ) ;
245245 }
246246
247- foreach ( var nupkg in GlobFiles ( ResultDirectory , "*.nupkg" ) )
247+ foreach ( var nupkg in ResultDirectory . GlobFiles ( "*.nupkg" ) )
248248 {
249249 DotNetNuGetPush ( s => s
250250 . SetTargetPath ( nupkg )
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <OutputType >Exe</OutputType >
5- <TargetFramework >net6 .0</TargetFramework >
5+ <TargetFramework >net8 .0</TargetFramework >
66 <RootNamespace ></RootNamespace >
77 <NoWarn >CS0649;CS0169</NoWarn >
88 <NukeRootDirectory >..</NukeRootDirectory >
1111 </PropertyGroup >
1212
1313 <ItemGroup >
14- <PackageReference Include =" Nuke.Common" Version =" 6.2.1 " />
14+ <PackageReference Include =" Nuke.Common" Version =" 8.0.0 " />
1515 </ItemGroup >
1616
1717 <ItemGroup >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <TargetFramework >net6 .0</TargetFramework >
3+ <TargetFramework >net8 .0</TargetFramework >
44 <PackageOutputPath >..\..\artifacts</PackageOutputPath >
55 <PackageId >ElectronNET.API</PackageId >
66 <Authors >Gregor Biswanger, Florian Rappl</Authors >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
33 <OutputType >Exe</OutputType >
4- <TargetFramework >net6 .0</TargetFramework >
4+ <TargetFramework >net8 .0</TargetFramework >
55 <AssemblyName >dotnet-electronize</AssemblyName >
66 <ToolCommandName >electronize</ToolCommandName >
77 <PackageType >DotnetCliTool</PackageType >
7171 <EmbeddedResource Include =" ..\ElectronNET.Host\.vscode\tasks.json" Link =" ElectronHost\.vscode\tasks.json" />
7272 </ItemGroup >
7373 <ItemGroup >
74- <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1 .0.0" >
74+ <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 8 .0.0" >
7575 <PrivateAssets >all</PrivateAssets >
7676 <IncludeAssets >runtime; build; native; contentfiles; analyzers</IncludeAssets >
7777 </PackageReference >
78- <PackageReference Include =" Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" Version =" 0.4.410601 " >
78+ <PackageReference Include =" Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" Version =" 0.4.421302 " >
7979 <PrivateAssets >all</PrivateAssets >
8080 </PackageReference >
8181 </ItemGroup >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Web" >
22 <PropertyGroup >
3- <TargetFramework >net6 .0</TargetFramework >
3+ <TargetFramework >net8 .0</TargetFramework >
44 <AspNetCoreHostingModel >OutOfProcess</AspNetCoreHostingModel >
55 <AspNetCoreModuleName >AspNetCoreModule</AspNetCoreModuleName >
66 <RuntimeIdentifiers >win-x64</RuntimeIdentifiers >
You can’t perform that action at this time.
0 commit comments