Commit 141336d 1 parent 0de2cf9 commit 141336d Copy full SHA for 141336d
File tree 7 files changed +26
-27
lines changed
7 files changed +26
-27
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,12 @@ name: Build
3
3
on :
4
4
push :
5
5
branches :
6
- - master
6
+ - main
7
+ - dev
7
8
pull_request :
8
- branches : [ master ]
9
+ branches :
10
+ - main
11
+ - dev
9
12
10
13
jobs :
11
14
build :
@@ -19,11 +22,11 @@ jobs:
19
22
steps :
20
23
- uses : actions/checkout@v4
21
24
with :
22
- fetch-depth : 400
23
- - name : Setup .NET 8
25
+ fetch-depth : 0
26
+ - name : Setup .NET 9
24
27
uses : actions/setup-dotnet@v4
25
28
with :
26
- dotnet-version : 8 .0.*
29
+ dotnet-version : 9 .0.*
27
30
- name : Install dependencies
28
31
run : |
29
32
dotnet clean -c Release && dotnet nuget locals all --clear
Original file line number Diff line number Diff line change 20
20
steps :
21
21
- uses : actions/checkout@v4
22
22
with :
23
- fetch-depth : 400
23
+ fetch-depth : 0
24
24
25
25
- name : Get Activity Short Circuit
26
26
id : check
@@ -53,11 +53,11 @@ jobs:
53
53
steps :
54
54
- uses : actions/checkout@v4
55
55
with :
56
- fetch-depth : 400
57
- - name : Setup .NET 8
56
+ fetch-depth : 0
57
+ - name : Setup .NET 9
58
58
uses : actions/setup-dotnet@v4
59
59
with :
60
- dotnet-version : 8 .0.*
60
+ dotnet-version : 9 .0.*
61
61
- name : Install dependencies
62
62
run : |
63
63
dotnet clean -c Release && dotnet nuget locals all --clear
@@ -79,11 +79,11 @@ jobs:
79
79
format : YYYYMMDD-HHmmSS
80
80
- uses : actions/checkout@v4
81
81
with :
82
- fetch-depth : 400
83
- - name : Setup .NET 8
82
+ fetch-depth : 0
83
+ - name : Setup .NET 9
84
84
uses : actions/setup-dotnet@v4
85
85
with :
86
- dotnet-version : 8 .0.*
86
+ dotnet-version : 9 .0.*
87
87
- name : Install dependencies
88
88
run : |
89
89
dotnet clean -c Release && dotnet nuget locals all --clear
93
93
- name : Pack Preview
94
94
if : ${{ success() && (github.event.release.prerelease || github.event_name != 'release') }}
95
95
run : |
96
- dotnet pack -c Release --no-build --no-restore -o out --version-suffix "nightly-${{ steps.current-time.outputs.formattedTime }}" -- include-symbols -p:SymbolPackageFormat=snupkg
96
+ dotnet pack -c Release --no-build --no-restore -o out --include-symbols -p:SymbolPackageFormat=snupkg
97
97
- name : Pack Release
98
98
if : ${{ success() && !github.event.release.prerelease && github.event_name == 'release' }}
99
99
run : |
@@ -116,8 +116,8 @@ jobs:
116
116
steps :
117
117
- uses : actions/checkout@v4
118
118
with :
119
- fetch-depth : 400
120
- - name : Reset nightly to master
119
+ fetch-depth : 0
120
+ - name : Reset nightly to main
121
121
run : |
122
122
head_sha=$(git rev-parse --verify HEAD)
123
123
echo "head_sha=$head_sha"
Original file line number Diff line number Diff line change 4
4
<Exec Condition =" '$(IsWindows)'=='true' And $(PackageId) != ''" Command =" RD /S /Q " %25USERPROFILE%25\.nuget\packages\$(PackageId)" " />
5
5
<Exec Condition =" '$(IsLinux)'=='true' And $(PackageId) != ''" Command =" rm -rf " %25USERPROFILE%25\.nuget\packages\$(PackageId)" " />
6
6
</Target >
7
-
8
- <PropertyGroup Condition =" '$(GITVERSION_NO_BUILD)' != 'true'" >
9
- <GitVersionTask >true</GitVersionTask >
10
- </PropertyGroup >
11
7
12
8
</Project >
Original file line number Diff line number Diff line change 1
1
<Project >
2
2
<ItemGroup >
3
- <PackageVersion Include =" GitVersion.MsBuild" Version =" 6.0.5" />
4
- <PackageVersion Include =" Noggog.CSharpExt" Version =" 2.67.3 " />
5
- <PackageVersion Include =" Microsoft.CodeAnalysis.CSharp" Version =" 4.10 .0" />
6
- <PackageVersion Include =" Microsoft.NET.Test.Sdk" Version =" 17.10.0 " />
3
+ <PackageVersion Include =" GitVersion.MsBuild" Version =" 6.0.5" />
4
+ <PackageVersion Include =" Noggog.CSharpExt" Version =" 2.68.0 " />
5
+ <PackageVersion Include =" Microsoft.CodeAnalysis.CSharp" Version =" 4.11 .0" />
6
+ <PackageVersion Include =" Microsoft.NET.Test.Sdk" Version =" 17.11.1 " />
7
7
<PackageVersion Include =" System.Linq.Async" Version =" 6.0.1" />
8
- <PackageVersion Include =" xunit" Version =" 2.9.0 " />
8
+ <PackageVersion Include =" xunit" Version =" 2.9.2 " />
9
9
<PackageVersion Include =" xunit.runner.visualstudio" Version =" 2.8.2" >
10
10
<PrivateAssets >all</PrivateAssets >
11
11
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >net8.0</TargetFrameworks >
4
+ <TargetFrameworks >net8.0;net9.0 </TargetFrameworks >
5
5
<LangVersion >Latest</LangVersion >
6
6
</PropertyGroup >
7
7
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >net8.0</TargetFrameworks >
4
+ <TargetFrameworks >net8.0;net9 .0</TargetFrameworks >
5
5
</PropertyGroup >
6
6
7
7
<ItemGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >net8.0;netstandard2.0</TargetFrameworks >
4
+ <TargetFrameworks >net8.0;net9.0; netstandard2.0</TargetFrameworks >
5
5
<LangVersion >Latest</LangVersion >
6
6
<AllowUnsafeBlocks >true</AllowUnsafeBlocks >
7
7
<LangVersion >preview</LangVersion >
You can’t perform that action at this time.
0 commit comments