Describe the enhancement
I'm writing an action. Would like to call ${{ hashFiles(...) }} and ${{ runner.OS }} and get the result from within the action. Is this possible? I understand I could have these as inputs, however the purpose of my action is to simplify that process.
Code Snippet
Something along these lines:
index.js
const core = require("@actions/core");
async function run() {
const hash = core.runExpression('hashFiles(...)')
}
run();
Describe the enhancement
I'm writing an action. Would like to call
${{ hashFiles(...) }}and${{ runner.OS }}and get the result from within the action. Is this possible? I understand I could have these as inputs, however the purpose of my action is to simplify that process.Code Snippet
Something along these lines:
index.js