Fix inputs type

This commit is contained in:
MaksimZhukov
2020-08-28 10:16:06 +03:00
parent 2ea972432a
commit 7aa3827a98

View File

@@ -103,7 +103,7 @@ class GitHubApi
return $this.InvokeRestMethod($url, 'GET', $null, $null)
}
[void] CreateWorkflowDispatch([string]$WorkflowFileName, [string]$Ref, [string]$Inputs) {
[void] CreateWorkflowDispatch([string]$WorkflowFileName, [string]$Ref, [object]$Inputs) {
$url = "actions/workflows/${WorkflowFileName}/dispatches"
$body = @{ ref = $Ref }