File tree 18 files changed +81
-32
lines changed
18 files changed +81
-32
lines changed Original file line number Diff line number Diff line change 11
11
release :
12
12
needs : [build-core, build-webforms]
13
13
uses : ./.github/workflows/libs-release.yml
14
- with :
15
- version : v0.2.1
16
14
secrets :
17
15
nuget_api_key : ${{ secrets.NUGET_API }}
Original file line number Diff line number Diff line change @@ -2,11 +2,6 @@ name: Release Libraries
2
2
3
3
on :
4
4
workflow_call :
5
- inputs :
6
- version :
7
- description : ' version tag name for the GitHub release'
8
- required : true
9
- type : string
10
5
secrets :
11
6
nuget_api_key :
12
7
description : ' nuget.org API key'
@@ -43,10 +38,15 @@ jobs:
43
38
nuget-api-key : ${{ secrets.nuget_api_key }}
44
39
- name : Publish NuGet packages to nuget.org
45
40
run : nuget push -Source https://api.nuget.org/v3/index.json '${{ github.workspace }}\packages\*.nupkg' -SkipDuplicate
46
- - name : Create GitHub release ${{ inputs.version }}
41
+ - name : Get version.txt
42
+ shell : pwsh
43
+ run : |
44
+ $version = Get-Content ${{ github.workspace }}/nuget-info/version.txt
45
+ echo "version=$version" >> $Env:GITHUB_ENV
46
+ - name : Create GitHub release "v${{ env.version }}"
47
47
uses : ncipollo/release-action@v1
48
48
with :
49
49
commit : master
50
- tag : ${{ inputs .version }}
50
+ tag : " v ${{ env .version }}"
51
51
artifacts : " ${{ github.workspace }}/packages/*.nupkg"
52
- bodyFile : " ${{ github.workspace }}/.github/workflows/ release.md "
52
+ bodyFile : " ${{ github.workspace }}/nuget-info/ release-notes.txt "
Original file line number Diff line number Diff line change 8
8
try :
9
9
runs-on : windows-latest
10
10
steps :
11
- - uses : actions/checkout@v3
12
- with :
13
- fetch-depth : 0
14
- - name : Get version.txt
15
- shell : pwsh
16
- run : |
17
- $version = Get-Content ${{ github.workspace }}/nuget-info/version.txt
18
- echo "version=$version" >> $GITHUB_ENV
19
- - name : Use version.txt
20
- run : echo ">${{ env.version }}<"
11
+ - name : Add msbuild to PATH
12
+
13
+ - name : view version
14
+ run : msbuild --version
Original file line number Diff line number Diff line change 1
- * Add Source Link to all NuGet packages
2
-
3
- * Fix race condition in the PersistentMainFactory due to the static cache
1
+ * Fix issue #5 race condition in the PersistentMainFactory due to the static cache
4
2
by setting up an identifying Request Correlation Guid in _Host.cshtml according to
5
3
https://learn.microsoft.com/en-us/aspnet/core/blazor/security/server/additional-scenarios?view=aspnetcore-6.0#pass-tokens-to-a-blazor-server-app
6
4
7
5
* Deprecate the 'Component' accessor in favor of 'Cut' as in
8
6
https://learn.microsoft.com/en-us/aspnet/core/blazor/test
9
7
10
- * Set Selenium RequestTimeout default to 1 if not configured
8
+ * Set Selenium RequestTimeout default to 1 sec if not configured
11
9
12
- * Blazor Test Navigate() and Refresh() as in Click() with numeric expectRenders
10
+ * Blazor synchronization in Navigate() and Refresh() with the same argumenrs as Click() with numeric expectRenders
13
11
instead of bool expectRender (breaking change)
14
12
15
- * Support the ?clear=true GET argument to clear browser storage also for Blazor
13
+ * Support the ?clear=true GET argument to clear browser storage also in Blazor
14
+
15
+ * Internet Explorer has been forcibly disabled by Microsoft, thus remove it from old tests.
16
16
17
- * Internet Explorer has been forcibly disabled by Microsoft, thus removed it from old tests.
17
+ * Add Source Link to the NuGet packages
Original file line number Diff line number Diff line change 8
8
</PropertyGroup >
9
9
10
10
<ItemGroup >
11
- <PackageReference Include =" aspnettest.asplib.core" Version =" $([System.IO.File]::ReadAllText(" $(MSBuildProjectDirectory)/../../nuget-info/version.txt" ))" />
11
+ <PackageReference Include =" aspnettest.asplib.core" Version =" $([System.IO.File]::ReadAllText(' $(MSBuildProjectDirectory)/../../nuget-info/version.txt' ))" />
12
12
</ItemGroup >
13
13
14
14
<ItemGroup >
Original file line number Diff line number Diff line change 8
8
</PropertyGroup >
9
9
10
10
<ItemGroup >
11
- <PackageReference Include =" aspnettest.asplib.core" Version =" $([System.IO.File]::ReadAllText(" $(MSBuildProjectDirectory)/../../nuget-info/version.txt" ))" />
11
+ <PackageReference Include =" aspnettest.asplib.core" Version =" $([System.IO.File]::ReadAllText(' $(MSBuildProjectDirectory)/../../nuget-info/version.txt' ))" />
12
12
</ItemGroup >
13
13
14
14
<!-- Don't require the SMC code generator Makefile project dependency when /p:noSmc=true -->
Original file line number Diff line number Diff line change 8
8
</PropertyGroup >
9
9
10
10
<ItemGroup >
11
- <PackageReference Include =" aspnettest.asplib.core" Version =" $([System.IO.File]::ReadAllText(" $(MSBuildProjectDirectory)/../../nuget-info/version.txt" ))" />
11
+ <PackageReference Include =" aspnettest.asplib.core" Version =" $([System.IO.File]::ReadAllText(' $(MSBuildProjectDirectory)/../../nuget-info/version.txt' ))" />
12
12
<PackageReference Include =" Microsoft.AspNetCore.TestHost" Version =" 6.0.13" />
13
13
<PackageReference Include =" nunit" Version =" 3.13.3" />
14
14
<PackageReference Include =" NUnit3TestAdapter" Version =" 4.3.1" >
Original file line number Diff line number Diff line change 30
30
<SymbolPackageFormat >snupkg</SymbolPackageFormat >
31
31
</PropertyGroup >
32
32
33
+ <PropertyGroup Condition =" '$(GITHUB_ACTIONS)' == 'true'" >
34
+ <ContinuousIntegrationBuild >true</ContinuousIntegrationBuild >
35
+ </PropertyGroup >
36
+
33
37
<ItemGroup >
34
38
<SupportedPlatform Include =" browser" />
35
39
</ItemGroup >
Original file line number Diff line number Diff line change 29
29
<SymbolPackageFormat >snupkg</SymbolPackageFormat >
30
30
</PropertyGroup >
31
31
32
+ <PropertyGroup Condition =" '$(GITHUB_ACTIONS)' == 'true'" >
33
+ <ContinuousIntegrationBuild >true</ContinuousIntegrationBuild >
34
+ </PropertyGroup >
35
+
32
36
<ItemGroup >
33
37
<PackageReference Include =" Microsoft.AspNetCore.TestHost" Version =" 6.0.13" />
34
38
<PackageReference Include =" Microsoft.EntityFrameworkCore" Version =" 6.0.13" />
Original file line number Diff line number Diff line change 39
39
<IncludeSymbols >true</IncludeSymbols >
40
40
<SymbolPackageFormat >snupkg</SymbolPackageFormat >
41
41
</PropertyGroup >
42
+ <PropertyGroup Condition =" '$(GITHUB_ACTIONS)' == 'true'" >
43
+ <ContinuousIntegrationBuild >true</ContinuousIntegrationBuild >
44
+ </PropertyGroup >
42
45
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
43
46
<DebugSymbols >true</DebugSymbols >
44
47
<DebugType >full</DebugType >
Original file line number Diff line number Diff line change 29
29
<SymbolPackageFormat >snupkg</SymbolPackageFormat >
30
30
</PropertyGroup >
31
31
32
+ <PropertyGroup Condition =" '$(GITHUB_ACTIONS)' == 'true'" >
33
+ <ContinuousIntegrationBuild >true</ContinuousIntegrationBuild >
34
+ </PropertyGroup >
35
+
32
36
<ItemGroup >
33
37
<PackageReference Include =" FSharp.Core" Version =" 6.0.7" />
34
38
<PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.1.1" >
Original file line number Diff line number Diff line change 16
16
<SymbolPackageFormat >snupkg</SymbolPackageFormat >
17
17
</PropertyGroup >
18
18
19
+ <PropertyGroup Condition =" '$(GITHUB_ACTIONS)' == 'true'" >
20
+ <ContinuousIntegrationBuild >true</ContinuousIntegrationBuild >
21
+ </PropertyGroup >
22
+
19
23
<ItemGroup >
20
24
<PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.1.1" >
21
25
<PrivateAssets >all</PrivateAssets >
Original file line number Diff line number Diff line change 29
29
<SymbolPackageFormat >snupkg</SymbolPackageFormat >
30
30
</PropertyGroup >
31
31
32
+ <PropertyGroup Condition =" '$(GITHUB_ACTIONS)' == 'true'" >
33
+ <ContinuousIntegrationBuild >true</ContinuousIntegrationBuild >
34
+ </PropertyGroup >
35
+
32
36
<ItemGroup >
33
37
<SupportedPlatform Include =" browser" />
34
38
</ItemGroup >
Original file line number Diff line number Diff line change 29
29
<SymbolPackageFormat >snupkg</SymbolPackageFormat >
30
30
</PropertyGroup >
31
31
32
+ <PropertyGroup Condition =" '$(GITHUB_ACTIONS)' == 'true'" >
33
+ <ContinuousIntegrationBuild >true</ContinuousIntegrationBuild >
34
+ </PropertyGroup >
35
+
32
36
<ItemGroup >
33
37
<PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.1.1" >
34
38
<PrivateAssets >all</PrivateAssets >
Original file line number Diff line number Diff line change 40
40
<IncludeSymbols >true</IncludeSymbols >
41
41
<SymbolPackageFormat >snupkg</SymbolPackageFormat >
42
42
</PropertyGroup >
43
+ <PropertyGroup Condition =" '$(GITHUB_ACTIONS)' == 'true'" >
44
+ <ContinuousIntegrationBuild >true</ContinuousIntegrationBuild >
45
+ </PropertyGroup >
43
46
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
44
47
<DebugSymbols >true</DebugSymbols >
45
48
<DebugType >full</DebugType >
Original file line number Diff line number Diff line change 28
28
<SymbolPackageFormat >snupkg</SymbolPackageFormat >
29
29
</PropertyGroup >
30
30
31
+ <PropertyGroup Condition =" '$(GITHUB_ACTIONS)' == 'true'" >
32
+ <ContinuousIntegrationBuild >true</ContinuousIntegrationBuild >
33
+ </PropertyGroup >
34
+
31
35
<ItemGroup >
32
36
<PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.1.1" >
33
37
<PrivateAssets >all</PrivateAssets >
Original file line number Diff line number Diff line change 16
16
<SymbolPackageFormat >snupkg</SymbolPackageFormat >
17
17
</PropertyGroup >
18
18
19
+ <PropertyGroup Condition =" '$(GITHUB_ACTIONS)' == 'true'" >
20
+ <ContinuousIntegrationBuild >true</ContinuousIntegrationBuild >
21
+ </PropertyGroup >
22
+
19
23
<ItemGroup >
20
24
<PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.1.1" >
21
25
<PrivateAssets >all</PrivateAssets >
Original file line number Diff line number Diff line change 10
10
11
11
<PropertyGroup >
12
12
<GenerateAssemblyInfo >false</GenerateAssemblyInfo >
13
- </PropertyGroup >
14
-
13
+ </PropertyGroup >
14
+
15
+ <PropertyGroup >
16
+ <!-- Source Link -->
17
+ <PublishRepositoryUrl >true</PublishRepositoryUrl >
18
+ <EmbedUntrackedSources >true</EmbedUntrackedSources >
19
+ <IncludeSymbols >true</IncludeSymbols >
20
+ <SymbolPackageFormat >snupkg</SymbolPackageFormat >
21
+ </PropertyGroup >
22
+
23
+ <PropertyGroup Condition =" '$(GITHUB_ACTIONS)' == 'true'" >
24
+ <ContinuousIntegrationBuild >true</ContinuousIntegrationBuild >
25
+ </PropertyGroup >
26
+
27
+ <ItemGroup >
28
+ <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.1.1" >
29
+ <PrivateAssets >all</PrivateAssets >
30
+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
31
+ </PackageReference >
32
+ </ItemGroup >
33
+
15
34
</Project >
You can’t perform that action at this time.
0 commit comments