Open amis92 opened 4 years ago
result
output:
error
output:
/demo get-date Workflow run
result
output:
"2023-08-21T18:17:56.2955327+00:00"
error
output:
/demo
Get-Location
New-Item -ItemType Directory test
Set-Location test
Get-Location
Write-Host "$GITHUB_WORKSPACE"
Apparently the demo action is broken, sorry for that. 🫥
/demo
echo "Hello World" Workflow run
result
output:
Hello World
error
output:
result
output:
2
error
output:
There's a slash-command available to try out the action. Simply comment on this issue with
/demo
in the first line and a PowerShell script in the following lines. If your comment will contain a code-block (fenced or not), contents of it will be executed instead of whole comment body - and it'll look better! :)For example, comment with:
You should get a result (and/or an error) in a comment that will follow.