mirror of
https://github.com/actions/runner-container-hooks.git
synced 2025-12-12 15:46:46 +00:00
@@ -1,4 +1,3 @@
|
||||
import * as core from '@actions/core'
|
||||
import * as events from 'events'
|
||||
import * as fs from 'fs'
|
||||
import * as os from 'os'
|
||||
@@ -13,7 +12,6 @@ export async function getInputFromStdin(): Promise<HookData> {
|
||||
})
|
||||
|
||||
rl.on('line', line => {
|
||||
core.debug(`Line from STDIN: ${line}`)
|
||||
input = line
|
||||
})
|
||||
await events.default.once(rl, 'close')
|
||||
|
||||
@@ -27,7 +27,6 @@ export async function runContainerStep(
|
||||
}
|
||||
|
||||
let secretName: string | undefined = undefined
|
||||
core.debug('')
|
||||
if (stepContainer.environmentVariables) {
|
||||
secretName = await createSecretForEnvs(stepContainer.environmentVariables)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user