mirror of
https://github.com/diligencia/semantic-branch-version.git
synced 2024-11-23 17:13:51 +08:00
output a static
This commit is contained in:
parent
bff17572ab
commit
33b2f4e4a2
2
index.js
2
index.js
@ -2,7 +2,7 @@ const core = require('@actions/core');
|
|||||||
const { Context } = require('@actions/github/lib/context');
|
const { Context } = require('@actions/github/lib/context');
|
||||||
|
|
||||||
try {
|
try {
|
||||||
core.setOutput("branchname", Context.ref);
|
core.setOutput("branchname", "static branch name");
|
||||||
} catch (errror) {
|
} catch (errror) {
|
||||||
core.setFailed(error.message);
|
core.setFailed(error.message);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user