diff --git a/action.yml b/action.yml index 3056e60..3ed1cbc 100644 --- a/action.yml +++ b/action.yml @@ -11,9 +11,6 @@ inputs: private-action-token: description: 'Token to access the private repository' required: true - private-action-folder: - description: 'Folder in which to clone the private action' - required: false runs: using: 'node12' main: 'dist/main.js' diff --git a/src/main.ts b/src/main.ts index 088d2cb..be39556 100644 --- a/src/main.ts +++ b/src/main.ts @@ -127,9 +127,6 @@ async function checkoutCode() { // Read `private-action-token` input parmeter const token = core.getInput('private-action-token'); - // Read `private-action-folder` input parameter - const folder = core.getInput('private-action-folder'); - // If `private-action` input prameter is missing, return an error if (!action) { core.setFailed(`Missing 'private-action' input parameter`); @@ -161,7 +158,7 @@ async function checkoutCode() { } // Create a random folder name where to checkout the action - const tempFolderName = folder || randomFolderName(); + const tempFolderName = randomFolderName(); try { // Generate repository URL for the action to checkout