We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da669f4 commit d656eb3Copy full SHA for d656eb3
1 file changed
Examples/Web/Orchardcore/SharpCoreDb.Orchardcore/SharpCoreDb.Orchardcore.csproj
@@ -8,9 +8,13 @@
8
<IsPackable>false</IsPackable>
9
<IsPublishable>false</IsPublishable>
10
<ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>
11
+ <!-- Skip build entirely in CI to avoid package restore failures -->
12
+ <ExcludeFromBuild Condition="'$(CI)' == 'true' OR '$(GITHUB_ACTIONS)' == 'true'">true</ExcludeFromBuild>
13
</PropertyGroup>
14
- <ItemGroup>
15
+ <!-- OrchardCore packages only restored when NOT in CI -->
16
+ <ItemGroup Condition="'$(CI)' != 'true' AND '$(GITHUB_ACTIONS)' != 'true'">
17
+ <!-- Requires OrchardCore preview feed: https://nuget.cloudsmith.io/orchardcore/preview/v3/index.json -->
18
<PackageReference Include="OrchardCore.Application.Cms.Targets" Version="3.0.0-preview-18884" />
19
</ItemGroup>
20
0 commit comments