mirror of
https://github.com/actions/runner-container-hooks.git
synced 2025-12-14 00:26:44 +00:00
Overwrite runnner file commands (#298)
This commit is contained in:
@@ -48,6 +48,7 @@ export async function runScriptStep(
|
|||||||
'SRC=/__w/_temp_pre',
|
'SRC=/__w/_temp_pre',
|
||||||
'DST=/__w/_temp',
|
'DST=/__w/_temp',
|
||||||
// Overwrite _runner_file_commands
|
// Overwrite _runner_file_commands
|
||||||
|
'cp -a "$SRC/_runner_file_commands/." "$DST/_runner_file_commands"',
|
||||||
`find "$SRC" -type f ! -path "*/_runner_file_commands/*" -exec sh -c '
|
`find "$SRC" -type f ! -path "*/_runner_file_commands/*" -exec sh -c '
|
||||||
rel="\${1#$2/}"
|
rel="\${1#$2/}"
|
||||||
target="$3/$rel"
|
target="$3/$rel"
|
||||||
|
|||||||
Reference in New Issue
Block a user