Initiated the action. #1
1
index.js
1
index.js
@ -71,6 +71,7 @@ async function main() {
|
|||||||
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}`);
|
||||||
|
print("::set-output name=current_version::1.2.3");
|
||||||
// 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