semantic-branch-version/index.js

8 lines
217 B
JavaScript
Raw Normal View History

const core = require('@actions/core');
const { Context } = require('@actions/github/lib/context');
try {
2020-07-04 23:34:01 +08:00
core.setOutput("branchname", "static branch name");
} catch (errror) {
core.setFailed(error.message);
}