feat(supported-version): add recent kind (#188)

This commit is contained in:
Damien Retzinger
2025-04-09 09:51:01 -04:00
committed by GitHub
parent 157b6877e2
commit 2f1b2eaa5d
7 changed files with 120 additions and 69 deletions
+2 -1
View File
@@ -9,12 +9,13 @@ export async function run(): Promise<void> {
const kind = core.getInput("kind");
const customVersions = core.getInput("custom_versions");
const project = core.getInput("project");
const recent_time_frame = core.getInput("recent_time_frame");
validateProject(<any>project)
validateKind(<any>kind, customVersions ? customVersions.split(',') : undefined);
core.setOutput('matrix', getMatrixForKind(kind, project, customVersions));
core.setOutput('matrix', getMatrixForKind(kind, project, customVersions, recent_time_frame));
}
catch (error) {
core.setFailed(error.message);