mirror of
https://github.com/actions/versions-package-tools.git
synced 2025-12-11 03:56:46 +00:00
Fix inputs type
This commit is contained in:
@@ -103,7 +103,7 @@ class GitHubApi
|
|||||||
return $this.InvokeRestMethod($url, 'GET', $null, $null)
|
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"
|
$url = "actions/workflows/${WorkflowFileName}/dispatches"
|
||||||
$body = @{ ref = $Ref }
|
$body = @{ ref = $Ref }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user