mirror of
https://github.com/actions/runner-container-hooks.git
synced 2025-12-18 02:36:44 +00:00
run script step path repaired
This commit is contained in:
@@ -59,6 +59,7 @@ describe('Run script step', () => {
|
|||||||
it('should shold have env variables available', async () => {
|
it('should shold have env variables available', async () => {
|
||||||
runScriptStepDefinition.args.entryPoint = 'bash'
|
runScriptStepDefinition.args.entryPoint = 'bash'
|
||||||
|
|
||||||
|
runScriptStepDefinition.args.workingDirectory = '/' // set to '/' so that cd does not throw
|
||||||
runScriptStepDefinition.args.entryPointArgs = [
|
runScriptStepDefinition.args.entryPointArgs = [
|
||||||
'-c',
|
'-c',
|
||||||
"'if [[ -z $NODE_ENV ]]; then exit 1; fi'"
|
"'if [[ -z $NODE_ENV ]]; then exit 1; fi'"
|
||||||
|
|||||||
Reference in New Issue
Block a user