Added a test for the output.
All checks were successful
Try out action / pre-commit Autoupdate (push) Successful in 23s
Lint / pre-commit Autoupdate (push) Successful in 53s

This commit is contained in:
2024-05-28 22:23:01 +02:00
parent 5c3e32d200
commit c85d2fd10e
5 changed files with 8 additions and 4 deletions

View File

@@ -70,7 +70,7 @@ async function main() {
const start_version = core.getInput("start-version");
const current_version = await increaseVersion(url_pattern, start_version);
core.info(`The new version determend is ${current_version}`);
core.setOutput("max_version", current_version);
core.setOutput("current_version", current_version);
return current_version;
} catch (error) {
core.setFailed(`Action failed with error: ${error}`);