We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
platform is undefined
To Reproduce Steps to reproduce the behavior:
import { platform } from "@actions/core"; console.log("platform is", platform);
Expected behavior platform should be defined and have arch info as well.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
I have the same issue in a TypeScript action.
The documentation has an example how to use it, but indeed it's not defined.
Sorry, something went wrong.
The PR that added it hasn't been included in a release yet. Until then you can use node:os as per the PR.
node:os
No branches or pull requests
Describe the bug
platform is undefined
To Reproduce
Steps to reproduce the behavior:
Expected behavior
platform should be defined and have arch info as well.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: