Try different ways
Some checks are pending
Test Action / Test with default inputs (macos-latest, 4.11.1) (push) Waiting to run
Test Action / Test with default inputs (ubuntu-latest, 4.11.1) (push) Waiting to run
Test Action / Test with default inputs (windows-latest, 4.11.1) (push) Waiting to run
Test Action / Test with explicit inputs (macos-latest, 4.11.1) (push) Waiting to run
Test Action / Test with explicit inputs (ubuntu-latest, 4.11.1) (push) Waiting to run
Test Action / Test with explicit inputs (windows-latest, 4.11.1) (push) Waiting to run

This commit is contained in:
khai96_ 2020-05-09 20:57:00 +07:00
parent 3b5e8836ec
commit 271a9df5fb
2 changed files with 6 additions and 2 deletions

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

View File

@ -6,7 +6,11 @@ import pnpmInstall from './pnpm-install'
async function main() { async function main() {
const isPost = getState('isPost') const isPost = getState('isPost')
console.log({ isPost }) console.log({
is_post: getState('is_post'),
isPost: getState('isPost'),
STATE_isPost: process.env['STATE_isPost'],
})
if (isPost) { if (isPost) {
return return
} }