Skip to content

Commit 7bffbc1

Browse files
committed
Updates for GHP, Nuget
1 parent cad93bd commit 7bffbc1

4 files changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/nugetci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ jobs:
2929
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
3030
env:
3131
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
32+
shell: pwsh
3233
run: |
3334
echo "Packing results:"
34-
ls -la nupkg || true
35-
dotnet nuget push "nupkg/*.nupkg" -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate
35+
Get-ChildItem -Recurse nupkg | Format-List -Property FullName,Length
36+
dotnet nuget push "nupkg/*.nupkg" -s https://api.nuget.org/v3/index.json -k $env:NUGET_API_KEY --skip-duplicate

demo/RulesEngineEditorWebAssembly/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public static async Task Main(string[] args)
2929

3030
builder.Services.AddScoped<JsonSerializerOptions>(sp =>
3131
{
32-
return RulesEngineJsonSourceContext.Default.Options;
32+
return RulesEngineEditor.Shared.RulesEngineJsonSourceContext.Default.Options;
3333
});
3434

3535
await builder.Build().RunAsync();

demo/RulesEngineEditorWebAssembly/RulesEngineJsonSourceContext.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
[JsonSerializable(typeof(Rule))]
88
[JsonSerializable(typeof(WorkflowData))]
99
[JsonSerializable(typeof(RuleActions))] // <-- Added for RuleActions
10-
[JsonSerializable(typeof(InputRuleParameterDictionary))] // Added for InputRuleParameterDictionary
11-
[JsonSerializable(typeof(System.Collections.Generic.List<InputRuleParameterDictionary>))] // Added for list
10+
[JsonSerializable(typeof(InputRuleParameterDictionary))]
11+
[JsonSerializable(typeof(System.Collections.Generic.List<InputRuleParameterDictionary>))]
1212
public partial class RulesEngineJsonSourceContext : JsonSerializerContext
1313
{
1414
}

src/RulesEngineEditor/RulesEngineEditor.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
<PackageReleaseNotes>https://github.com/alexreich/RulesEngineEditor/blob/main/CHANGELOG.md</PackageReleaseNotes>
1414
<PackageIcon>RulesEngineEditor.png</PackageIcon>
1515
<PackageIconUrl />
16-
<Version>1.4.4</Version>
17-
<AssemblyVersion>1.4.4.0</AssemblyVersion>
18-
<FileVersion>1.4.4.0</FileVersion>
16+
<Version>1.4.5</Version>
17+
<AssemblyVersion>1.4.5.0</AssemblyVersion>
18+
<FileVersion>1.4.5.0</FileVersion>
1919
<PackageReadmeFile>README.md</PackageReadmeFile>
2020
</PropertyGroup>
2121
<ItemGroup>

0 commit comments

Comments
 (0)