mirror of
https://github.com/diligencia/semantic-branch-version.git
synced 2024-11-23 16:23:50 +08:00
8 lines
208 B
JavaScript
8 lines
208 B
JavaScript
|
const core = require('@actions/core');
|
||
|
const { Context } = require('@actions/github/lib/context');
|
||
|
|
||
|
try {
|
||
|
core.setOutput("branchname", Context.ref);
|
||
|
} catch (errror) {
|
||
|
core.setFailed(error.message);
|
||
|
}
|