Make cleaning optional
fdiblen opened this issue · comments
fdiblen commented
Removing in/
folder and intermediate files in out/
folder should be controlled by an input to the action.
Example:
- uses: tortellini-tools/action@main
with:
keep_intermediate: true
Jurriaan H. Spaaks commented
Maybe instead of boolean flags we could have an array with strings from an enum, like
- uses: tortellini-tools/action@main
with:
keep:
- clone
- analyze
- gitlab
anbd then somewhere in the code
if ('clone' in keep) {
// keep clone results
} else {
// throw away clone results
}
if ('gitlab' in keep) {
// keep gitlab results
} else {
// throw away gitlab results
}
// etc