Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSOE-641: Fix remaining issues for the Orchard Core 1.6 upgrade in Orchard-Chart.js #57

Merged
merged 6 commits into from
Jun 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,8 @@ jobs:
uses: Lombiq/GitHub-Actions/.github/workflows/publish-nuget.yml@dev
secrets:
API_KEY: ${{ secrets.DEFAULT_NUGET_PUBLISH_API_KEY }}
with:
# Needed because the DebugType is set to "embedded" in the project files which results in empty snupkg files. To
# avoid the "The package does not contain any symbol (.pdb) files." error during NuGet publishing we should set
# this to "false".
dotnet-pack-include-symbols: "false"
7 changes: 7 additions & 0 deletions Lombiq.ChartJs.Samples/Lombiq.ChartJs.Samples.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@
<ProjectReference Include="..\..\..\Utilities\Lombiq.NodeJs.Extensions\Lombiq.NodeJs.Extensions\Lombiq.NodeJs.Extensions.csproj" />
</ItemGroup>

<PropertyGroup Condition="'$(NuGetBuild)' == 'true'">
<!-- This is needed because we must use the same in Lombiq.ChartJs.Tests.UI.csproj. Embedded and portalbe DebugTypes
can't be mixed within the repository because we should set "dotnet-pack-include-symbols: false" to avoid "The
package does not contain any symbol (.pdb) files." during NuGet publishing. -->
<DebugType>embedded</DebugType>
</PropertyGroup>

<ItemGroup Condition="'$(NuGetBuild)' == 'true'">
<PackageReference Include="Lombiq.NodeJs.Extensions" Version="1.2.4-alpha.0.osoe-548" />
</ItemGroup>
Expand Down
8 changes: 7 additions & 1 deletion Lombiq.ChartJs.Tests.UI/Lombiq.ChartJs.Tests.UI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,14 @@
<ProjectReference Include="..\..\..\..\test\Lombiq.UITestingToolbox\Lombiq.Tests.UI\Lombiq.Tests.UI.csproj" />
</ItemGroup>

<PropertyGroup Condition="'$(NuGetBuild)' == 'true'">
<!-- This is needed to make debug symbols loadable during visual verification testing by
AssertVisualVerificationApproved to access the caller method source file name. -->
<DebugType>embedded</DebugType>
Piedone marked this conversation as resolved.
Show resolved Hide resolved
</PropertyGroup>

<ItemGroup Condition="'$(NuGetBuild)' == 'true'">
<PackageReference Include="Lombiq.Tests.UI" Version="6.0.2-alpha.2.osoe-548" />
<PackageReference Include="Lombiq.Tests.UI" Version="6.0.2-alpha.1.osoe-641" />
</ItemGroup>

<ItemGroup>
Expand Down
9 changes: 8 additions & 1 deletion Lombiq.ChartJs/Lombiq.ChartJs.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,15 @@
<ProjectReference Include="..\..\..\Utilities\Lombiq.NodeJs.Extensions\Lombiq.NodeJs.Extensions\Lombiq.NodeJs.Extensions.csproj" />
</ItemGroup>

<PropertyGroup Condition="'$(NuGetBuild)' == 'true'">
<!-- This is needed because we must use the same in Lombiq.ChartJs.Tests.UI.csproj. Embedded and portalbe DebugTypes
can't be mixed within the repository because we should set "dotnet-pack-include-symbols: false" to avoid "The
package does not contain any symbol (.pdb) files." during NuGet publishing. -->
<DebugType>embedded</DebugType>
</PropertyGroup>

<ItemGroup Condition="'$(NuGetBuild)' == 'true'">
<PackageReference Include="Lombiq.HelpfulLibraries.OrchardCore" Version="5.1.3-alpha.1.osoe-548" />
<PackageReference Include="Lombiq.HelpfulLibraries.OrchardCore" Version="5.1.3-alpha.3.osoe-641" />
<PackageReference Include="Lombiq.NodeJs.Extensions" Version="1.2.4-alpha.0.osoe-548" />
</ItemGroup>

Expand Down