6.0.0
GitHub Actions
- Updated
codeql
task. - Updated
coverallsapp/github-action
fromv2.2.1
tov2.3.0
.
Changed
- Switched JSON serialization library from
Newtonsoft.Json
toSystem.Text.Json
.
Added
- Added more demo examples in the demo project.
- Action context now has access to cancellation tokens.
- New overloads for
ExecuteAllRulesAsync
to support cancellation tokens:ValueTask<List<RuleResultTree>> ExecuteAllRulesAsync(string workflowName, CancellationToken cancellationToken, params object[] inputs); ValueTask<List<RuleResultTree>> ExecuteAllRulesAsync(string workflowName, RuleParameter[] ruleParams, CancellationToken cancellationToken);
- New overload for
ExecuteActionWorkflowAsync
to support cancellation tokens:ValueTask<ActionRuleResult> ExecuteActionWorkflowAsync(string workflowName, string ruleName, RuleParameter[] ruleParameters, CancellationToken cancellationToken);
- Added a
GetCancellationToken
method inActionContext
to get the cancellation token:public CancellationToken GetCancellationToken();
Fixed
- All issues in the master fork have been resolved, usually with a demo app supporting the solution.
Target Framework
- Only targeting
netstandard2.1
.