mirror of
https://github.com/actions/github-script.git
synced 2026-02-07 19:47:26 +00:00
Test log result
This commit is contained in:
parent
be5d094bf9
commit
26ee3d2d09
2 changed files with 2 additions and 0 deletions
1
dist/index.js
vendored
1
dist/index.js
vendored
|
|
@ -9179,6 +9179,7 @@ async function main() {
|
|||
const script = Object(core.getInput)('script', { required: true });
|
||||
// Using property/value shorthand on `require` (e.g. `{require}`) causes compilatin errors.
|
||||
const result = await callAsyncFunction({ require: __webpack_require__(875), github, context: lib_github.context }, script);
|
||||
console.log('test result', result);
|
||||
let encoding = Object(core.getInput)('result-encoding');
|
||||
encoding = encoding ? encoding : 'json';
|
||||
let output;
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ async function main() {
|
|||
{require: require, github, context},
|
||||
script
|
||||
)
|
||||
console.log('test result', result)
|
||||
|
||||
let encoding = core.getInput('result-encoding')
|
||||
encoding = encoding ? encoding : 'json'
|
||||
|
|
|
|||
Loading…
Reference in a new issue