diff --git a/action.yml b/action.yml index b204427..9de6293 100644 --- a/action.yml +++ b/action.yml @@ -26,4 +26,3 @@ inputs: runs: using: node12 main: dist/index.js - post: dist/index.js diff --git a/dist/index.js b/dist/index.js index 1b42200..e3600f0 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/src/index.ts b/src/index.ts index a94f035..4273417 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,19 +1,10 @@ -import { setFailed, getState } from '@actions/core' +import { setFailed } from '@actions/core' import getInputs from './inputs' import setOutputs from './outputs' import installPnpm from './install-pnpm' import pnpmInstall from './pnpm-install' async function main() { - const isPost = getState('isPost') - console.log({ - is_post: getState('is_post'), - isPost: getState('isPost'), - STATE_isPost: process.env['STATE_isPost'], - }) - if (isPost) { - return - } const inputs = getInputs() await installPnpm(inputs) console.log('Installation Completed!')