Initiated the action. #1
2
index.js
2
index.js
@ -70,7 +70,7 @@ async function main() {
|
|||||||
const start_version = core.getInput("start-version");
|
const start_version = core.getInput("start-version");
|
||||||
const current_version = await increaseVersion(url_pattern, start_version);
|
const current_version = await increaseVersion(url_pattern, start_version);
|
||||||
core.info(`The new version determend is ${current_version}`);
|
core.info(`The new version determend is ${current_version}`);
|
||||||
core.setOutput("current_version", current_version);
|
core.setOutput("current_version", `${current_version}`);
|
||||||
// return current_version;
|
// return current_version;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
core.setFailed(`Action failed with error: ${error}`);
|
core.setFailed(`Action failed with error: ${error}`);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user