-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Demo #2
Comments
/demo return (1 + 1) |
|
/demo 1 + 1 |
|
/demo $github.repository |
|
/demo echo $github.actor |
|
/demo echo $github.workspace |
|
/demo Get-Date |
|
/demo Set-ActionOutput testout igottest |
|
/demo return (1 + 1) |
|
/demo |
|
|
/demo |
|
/demo Set-Culture -CultureInfo pt-BR |
|
/demo Set-Culture -CultureInfo pt-BR |
|
/demo return (1+1) |
/demo return ($github.run_number) |
|
/demo return ("test: ${github.run_number")" |
|
/demo return ("test: ${github.run_number}") |
|
/demo return ("test: ${$github.run_number}") |
|
/demo return ("test: ${$github.workspace}") |
|
@SupremeOverlordTheFirst you need to use normal parentheses/round brackets: |
/demo "test: $($github.workspace)" |
|
Thank you, yes got it working, sorry for spamming the comments :) |
/demo return [ordered]@{ x = 'a1'; y = 'b2' } |
|
/demo |
|
/demo |
|
/demo get-date |
|
/demo |
|
/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" |
|
/demo return (1 + 1) |
|
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.
The text was updated successfully, but these errors were encountered: