diff --git a/src/handleOptions.js b/src/handleOptions.js index b91b41e..ed1a39a 100644 --- a/src/handleOptions.js +++ b/src/handleOptions.js @@ -123,7 +123,7 @@ exports.handleTagFormat = () => { */ exports.handleRepositoryOption = () => { const repositoryUrl = core.getInput(inputs.repository_url); - core.debug(`repository_url input: ${repository_url}`); + core.debug(`repository_url input: ${repositoryUrl}`); if (repositoryUrl) { return { r: repositoryUrl }; diff --git a/src/index.js b/src/index.js index faa9c1b..a4d2862 100644 --- a/src/index.js +++ b/src/index.js @@ -1,3 +1,5 @@ +import { handleRepositoryOption } from './handleOptions'; + const core = require('@actions/core'); const { handleBranchesOption, @@ -32,7 +34,8 @@ const release = async () => { ...handleDryRunOption(), ...handleCiOption(), ...handleExtends(), - ...handleTagFormat() + ...handleTagFormat(), + ...handleRepositoryOption() }); await cleanupNpmrc();