Skip to content

Commit

Permalink
Update config.
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStehle committed Nov 11, 2022
1 parent 4206d62 commit 44affd0
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- name: push dotnet tool to nuget.org
run: |
cd cli/Squidex.CLI/Squidex.CLI/bin/Release
dotnet nuget push **/*.nupkg --source 'https://api.nuget.org/v3/index.json' --skip-duplicate -k ${{ secrets.nuget }} --no-symbols 1
dotnet nuget push **/*.nupkg --source 'https://api.nuget.org/v3/index.json' --skip-duplicate -k ${{ secrets.nuget }}
- name: pack core
run: |
Expand All @@ -69,7 +69,7 @@ jobs:
- name: push core to nuget.org
run: |
cd cli/Squidex.CLI/Squidex.CLI.Core/bin/Release
dotnet nuget push **/*.nupkg --source 'https://api.nuget.org/v3/index.json' --skip-duplicate -k ${{ secrets.nuget }} --no-symbols 1
dotnet nuget push **/*.nupkg --source 'https://api.nuget.org/v3/index.json' --skip-duplicate -k ${{ secrets.nuget }}
- name: create dir
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
- name: pack
run: |
cd csharp/Squidex.ClientLibrary
dotnet nuget push **/*.nupkg --source 'https://api.nuget.org/v3/index.json' --skip-duplicate -k ${{ secrets.nuget }} --no-symbols 1
dotnet nuget push **/*.nupkg --source 'https://api.nuget.org/v3/index.json' --skip-duplicate -k ${{ secrets.nuget }}
7 changes: 7 additions & 0 deletions cli/Squidex.CLI/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,17 @@
<Company>Squidex UG (haftungsbeschränkt)</Company>
<Copyright>MIT</Copyright>
<Description>Command Line Interface for Squidex Headless CMS</Description>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<ImplicitUsings>enable</ImplicitUsings>
<IncludeSymbols>true</IncludeSymbols>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<PackageIcon>logo-squared.png</PackageIcon>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/Squidex/squidex/</PackageProjectUrl>
<PackageTags>Squidex HeadlessCMS</PackageTags>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<Version>9.0</Version>
</PropertyGroup>
</Project>
4 changes: 4 additions & 0 deletions cli/Squidex.CLI/Squidex.CLI.Core/Squidex.CLI.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="NJsonSchema" Version="10.8.0" />
<PackageReference Include="RefactoringEssentials" Version="5.6.0" PrivateAssets="all" />
<PackageReference Include="Slugify.Core" Version="3.0.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Squidex.ClientLibrary.ServiceExtensions;

internal sealed class OptionsValidator : IValidateOptions<SquidexServiceOptions>
{
public ValidateOptionsResult Validate(string name, SquidexServiceOptions options)
public ValidateOptionsResult Validate(string? name, SquidexServiceOptions options)
{
try
{
Expand Down

0 comments on commit 44affd0

Please sign in to comment.