Skip to content

Commit 074a49a

Browse files
committed
fix: support paring CLI args when the CLI env set in a GitHub Action
1 parent eb30a83 commit 074a49a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

dist/cli.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/post.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import * as coreDefault from '@actions/core'
22
import { coreMocked } from './mocking'
33

4-
export const core = process.env.MOCKING || !process.env.GITHUB_ACTIONS ? coreMocked : coreDefault
4+
export const core = process.env.MOCKING || process.env.CLI || !process.env.GITHUB_ACTIONS ? coreMocked : coreDefault

0 commit comments

Comments
 (0)