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:
11
11
runs-on : ubuntu-latest
12
12
13
13
steps :
14
- - uses : actions/checkout@v2
14
+ - uses : actions/checkout@v4
15
15
16
16
- name : Setup dotnet
17
- uses : actions/setup-dotnet@v1
17
+ uses : actions/setup-dotnet@v4
18
18
with :
19
19
dotnet-version : |
20
- 6.0.x
21
- 7.0.x
20
+ 8.0.x
22
21
23
22
- name : Build
24
23
run : ./build.sh
@@ -27,14 +26,13 @@ jobs:
27
26
runs-on : windows-latest
28
27
29
28
steps :
30
- - uses : actions/checkout@v2
29
+ - uses : actions/checkout@v4
31
30
32
31
- name : Setup dotnet
33
- uses : actions/setup-dotnet@v1
32
+ uses : actions/setup-dotnet@v4
34
33
with :
35
34
dotnet-version : |
36
- 6.0.x
37
- 7.0.x
35
+ 8.0.x
38
36
39
37
- name : Build
40
38
run : |
Original file line number Diff line number Diff line change 10
10
"request" : " launch" ,
11
11
"preLaunchTask" : " build" ,
12
12
// 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" ,
14
14
"args" : [],
15
- "cwd" : " ${workspaceRoot}/ElectronNET.CLI" ,
15
+ "cwd" : " ${workspaceRoot}/src/ ElectronNET.CLI" ,
16
16
// For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window
17
17
"console" : " internalConsole" ,
18
18
"stopAtEntry" : false ,
Original file line number Diff line number Diff line change 7
7
"label" : " build" ,
8
8
"type" : " shell" ,
9
9
"command" : " dotnet" ,
10
- "args" : [" build" , " ${workspaceRoot}/ElectronNET.CLI/ElectronNET.CLI.csproj" ],
10
+ "args" : [" build" , " ${workspaceRoot}/src/ ElectronNET.CLI/ElectronNET.CLI.csproj" ],
11
11
"problemMatcher" : " $msCompile" ,
12
12
"group" : {
13
13
"_id" : " build" ,
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ protected override void OnBuildInitialized()
109
109
. Before ( Restore )
110
110
. Executes ( ( ) =>
111
111
{
112
- SourceDirectory . GlobDirectories ( "**/bin" , "**/obj" ) . ForEach ( DeleteDirectory ) ;
112
+ SourceDirectory . GlobDirectories ( "**/bin" , "**/obj" ) . ForEach ( dir => dir . DeleteDirectory ( ) ) ;
113
113
} ) ;
114
114
115
115
Target Restore => _ => _
@@ -244,7 +244,7 @@ protected override void OnBuildInitialized()
244
244
throw new BuildAbortedException ( "Could not resolve the NuGet API key." ) ;
245
245
}
246
246
247
- foreach ( var nupkg in GlobFiles ( ResultDirectory , "*.nupkg" ) )
247
+ foreach ( var nupkg in ResultDirectory . GlobFiles ( "*.nupkg" ) )
248
248
{
249
249
DotNetNuGetPush ( s => s
250
250
. SetTargetPath ( nupkg )
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<OutputType >Exe</OutputType >
5
- <TargetFramework >net6 .0</TargetFramework >
5
+ <TargetFramework >net8 .0</TargetFramework >
6
6
<RootNamespace ></RootNamespace >
7
7
<NoWarn >CS0649;CS0169</NoWarn >
8
8
<NukeRootDirectory >..</NukeRootDirectory >
11
11
</PropertyGroup >
12
12
13
13
<ItemGroup >
14
- <PackageReference Include =" Nuke.Common" Version =" 6.2.1 " />
14
+ <PackageReference Include =" Nuke.Common" Version =" 8.0.0 " />
15
15
</ItemGroup >
16
16
17
17
<ItemGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
- <TargetFramework >net6 .0</TargetFramework >
3
+ <TargetFramework >net8 .0</TargetFramework >
4
4
<PackageOutputPath >..\..\artifacts</PackageOutputPath >
5
5
<PackageId >ElectronNET.API</PackageId >
6
6
<Authors >Gregor Biswanger, Florian Rappl</Authors >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
3
<OutputType >Exe</OutputType >
4
- <TargetFramework >net6 .0</TargetFramework >
4
+ <TargetFramework >net8 .0</TargetFramework >
5
5
<AssemblyName >dotnet-electronize</AssemblyName >
6
6
<ToolCommandName >electronize</ToolCommandName >
7
7
<PackageType >DotnetCliTool</PackageType >
71
71
<EmbeddedResource Include =" ..\ElectronNET.Host\.vscode\tasks.json" Link =" ElectronHost\.vscode\tasks.json" />
72
72
</ItemGroup >
73
73
<ItemGroup >
74
- <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1 .0.0" >
74
+ <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 8 .0.0" >
75
75
<PrivateAssets >all</PrivateAssets >
76
76
<IncludeAssets >runtime; build; native; contentfiles; analyzers</IncludeAssets >
77
77
</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 " >
79
79
<PrivateAssets >all</PrivateAssets >
80
80
</PackageReference >
81
81
</ItemGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk.Web" >
2
2
<PropertyGroup >
3
- <TargetFramework >net6 .0</TargetFramework >
3
+ <TargetFramework >net8 .0</TargetFramework >
4
4
<AspNetCoreHostingModel >OutOfProcess</AspNetCoreHostingModel >
5
5
<AspNetCoreModuleName >AspNetCoreModule</AspNetCoreModuleName >
6
6
<RuntimeIdentifiers >win-x64</RuntimeIdentifiers >
You can’t perform that action at this time.
0 commit comments