Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Move command runner to @actions/exec
  • Loading branch information
nikolai-laevskii committed Oct 12, 2023
commit d15c09b8367c86239a92edfa6770b1ca58065158
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as exec from '@actions/exec'
import * as exec from '../src/exec'
import * as core from '@actions/core'
import * as io from '@actions/io'
import {CommandRunner, createCommandRunner} from '../src/helpers'
import {CommandRunner, createCommandRunner} from '../src/command-runner'

describe('command-runner', () => {
describe('createCommandRunner', () => {
Expand Down
95 changes: 95 additions & 0 deletions packages/exec/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/exec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"url": "https://github.com/actions/toolkit/issues"
},
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/io": "^1.0.1"
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as exec from '@actions/exec'
import * as exec from '../exec'
import {CommandRunnerBase} from './core'
import {
failAction,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as exec from '@actions/exec'
import * as exec from '../exec'
import {StringDecoder} from 'string_decoder'
import {
CommandRunnerContext,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as exec from '@actions/exec'
import * as exec from '../exec'
import {PromisifiedFn} from './utils'

/* CommandRunner core */
Expand Down