mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2026-04-22 03:20:02 +00:00
feat: add ability to unset GITHUB_ACTION env var
Signed-off-by: David van der Spek <david.vanderspek@flyrlabs.com>
This commit is contained in:
parent
fbe969823c
commit
266ea7eb8c
5 changed files with 12 additions and 2 deletions
|
|
@ -27,6 +27,11 @@ const release = async () => {
|
|||
await preInstall(core.getInput(inputs.extra_plugins));
|
||||
await preInstall(core.getInput(inputs.extends));
|
||||
|
||||
if (core.getInput(inputs.unset_gha_env) === 'true') {
|
||||
core.debug('Unset GITHUB_ACTIONS environment variable');
|
||||
delete process.env.GITHUB_ACTIONS;
|
||||
}
|
||||
|
||||
const semanticRelease = await import('semantic-release');
|
||||
const result = await semanticRelease.default({
|
||||
...handleBranchesOption(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue