additional parse outputs
All checks were successful
Distribution check / Generated files check (push) Successful in -2m2s
NPM Audit Check / Check NPM audit (push) Successful in -2m10s
Unit tests / Unit tests (latest) (push) Successful in -2m0s
Unit tests / Unit tests (lts/*) (push) Successful in -2m1s
Unit tests / Unit tests (lts/hydrogen) (push) Successful in -2m0s
All checks were successful
Distribution check / Generated files check (push) Successful in -2m2s
NPM Audit Check / Check NPM audit (push) Successful in -2m10s
Unit tests / Unit tests (latest) (push) Successful in -2m0s
Unit tests / Unit tests (lts/*) (push) Successful in -2m1s
Unit tests / Unit tests (lts/hydrogen) (push) Successful in -2m0s
This commit is contained in:
@@ -23,6 +23,13 @@ inputs:
|
|||||||
outputs:
|
outputs:
|
||||||
parsed-data:
|
parsed-data:
|
||||||
description: parsed pkgbase data
|
description: parsed pkgbase data
|
||||||
|
build:
|
||||||
|
description: whether a build is required or not
|
||||||
|
move:
|
||||||
|
description: whether a move is required or not
|
||||||
|
delete:
|
||||||
|
description: whether a deletion is required or not
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'node16'
|
using: 'node16'
|
||||||
main: 'dist/src/index.js'
|
main: 'dist/src/index.js'
|
||||||
|
|||||||
@@ -49,5 +49,8 @@ async function doParse() {
|
|||||||
const current = getCurrent();
|
const current = getCurrent();
|
||||||
const diff = await parse(previous, current);
|
const diff = await parse(previous, current);
|
||||||
core.setOutput('parsed-data', JSON.stringify(diff));
|
core.setOutput('parsed-data', JSON.stringify(diff));
|
||||||
|
core.setOutput('build', diff.build);
|
||||||
|
core.setOutput('move', diff.move.length > 0);
|
||||||
|
core.setOutput('delete', diff.delete.length > 0);
|
||||||
}
|
}
|
||||||
//# sourceMappingURL=router.js.map
|
//# sourceMappingURL=router.js.map
|
||||||
File diff suppressed because one or more lines are too long
@@ -66,4 +66,7 @@ async function doParse() {
|
|||||||
const current = getCurrent();
|
const current = getCurrent();
|
||||||
const diff = await parse(previous, current);
|
const diff = await parse(previous, current);
|
||||||
core.setOutput('parsed-data', JSON.stringify(diff));
|
core.setOutput('parsed-data', JSON.stringify(diff));
|
||||||
|
core.setOutput('build', diff.build);
|
||||||
|
core.setOutput('move', diff.move.length > 0);
|
||||||
|
core.setOutput('delete', diff.delete.length > 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user