Skip to content

Commit

Permalink
feat: add repository_url input
Browse files Browse the repository at this point in the history
  • Loading branch information
mym0404 committed Mar 19, 2024
1 parent d7ab7f2 commit 8dffec4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/handleOptions.js
Expand Up @@ -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 };
Expand Down
5 changes: 4 additions & 1 deletion src/index.js
@@ -1,3 +1,5 @@
import { handleRepositoryOption } from './handleOptions';

const core = require('@actions/core');
const {
handleBranchesOption,
Expand Down Expand Up @@ -32,7 +34,8 @@ const release = async () => {
...handleDryRunOption(),
...handleCiOption(),
...handleExtends(),
...handleTagFormat()
...handleTagFormat(),
...handleRepositoryOption()
});

await cleanupNpmrc();
Expand Down

0 comments on commit 8dffec4

Please sign in to comment.