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

This commit is contained in:
2025-11-07 13:04:59 -05:00
parent 960772d5d1
commit b3354d31e7
4 changed files with 14 additions and 1 deletions

View File

@@ -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'

View File

@@ -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

View File

@@ -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);
} }