From 7aa3827a98f3b2e1e78d29091120a49ebe5fec7c Mon Sep 17 00:00:00 2001 From: MaksimZhukov Date: Fri, 28 Aug 2020 10:16:06 +0300 Subject: [PATCH] Fix inputs type --- github/github-api.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/github-api.psm1 b/github/github-api.psm1 index 496d211..3103ed0 100644 --- a/github/github-api.psm1 +++ b/github/github-api.psm1 @@ -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 }