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
constcore=require("@actions/core");asyncfunctionrun(){consthash=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