Compare commits

..

No commits in common. "271a9df5fbbeb6929a4e71edc2bb7ff4e0f4114a" and "1790ca7f76c4c79099196814f87470ca68fcda4d" have entirely different histories.

3 changed files with 1 additions and 11 deletions

View File

@ -26,4 +26,3 @@ inputs:
runs:
using: node12
main: dist/index.js
post: dist/index.js

BIN
dist/index.js vendored

Binary file not shown.

View File

@ -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!')