-
Notifications
You must be signed in to change notification settings - Fork 11
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
await is only valid in async function #51
Comments
@kaihendry Thank you for reporting. Have you solved the problem with v1 or v1.1? But anyway, I'll update the Gist code. |
I updated to 1.1. Ideally I could just be running latest? How do I express that? |
@kaihendry This one is an expected behavior. Top-level await, no Actual commentComment@github-actions run
```js
await postComment("hello, world");
``` You can use this comment, copy-and-paste. |
@kaihendry Did you solve this problem? |
Yes, though is there a way to fix on your latest workflow version? Does @latest work I wonder? 😆 |
@kaihendry When you use v1, v1.1 or v1.1.2, it's ok. I don't provide |
Could you solve this problem? If so, I'd like close this issue. |
I'm trying a couple of examples upon:
kaihendry/dabase.com#7
And I'm getting as you can see upon
https://github.com/kaihendry/dabase.com/actions/runs/68702196
await is only valid in async function
error.I think it's because:
Which is v1 not v1.1
The text was updated successfully, but these errors were encountered: