Compare commits

..

2 Commits

Author SHA1 Message Date
Nikola Jokic
d8d2e74810 Bump packages (#304)
* Bump packages

* bump exec
2026-01-15 21:21:58 +01:00
Will Hopkins
5f5708a2b8 Overwrite runnner file commands (#298) 2025-12-12 13:57:47 +01:00
7 changed files with 1241 additions and 1532 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -13,8 +13,8 @@
"author": "", "author": "",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@actions/core": "^1.11.1", "@actions/core": "^2.0.2",
"@actions/exec": "^1.1.1", "@actions/exec": "^2.0.0",
"hooklib": "file:../hooklib", "hooklib": "file:../hooklib",
"shlex": "^3.0.0", "shlex": "^3.0.0",
"uuid": "^11.1.0" "uuid": "^11.1.0"

File diff suppressed because it is too large Load Diff

View File

@@ -22,6 +22,6 @@
"typescript": "^5.8.3" "typescript": "^5.8.3"
}, },
"dependencies": { "dependencies": {
"@actions/core": "^1.11.1" "@actions/core": "^2.0.2"
} }
} }

File diff suppressed because it is too large Load Diff

View File

@@ -13,9 +13,9 @@
"author": "", "author": "",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@actions/core": "^1.11.1", "@actions/core": "^2.0.2",
"@actions/exec": "^1.1.1", "@actions/exec": "^2.0.0",
"@actions/io": "^1.1.3", "@actions/io": "^2.0.0",
"@kubernetes/client-node": "^1.3.0", "@kubernetes/client-node": "^1.3.0",
"hooklib": "file:../hooklib", "hooklib": "file:../hooklib",
"js-yaml": "^4.1.0", "js-yaml": "^4.1.0",

View File

@@ -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"