Commit 1e67c1e
committed
get-linux-source: use an env var for the ACTION_PATH
Move ${{ github.action_path }} from inline run: usage to env: section
as ACTION_PATH. The runner's ContainerStepHost translates env var paths
for container jobs (host path → container path), but does not translate
paths embedded in run: script content. This fixes composite actions
when called from a workflow with a container: directive.
Also move inline export vars (KERNEL_ORIGIN, KERNEL_BRANCH, REPO_PATH)
to env: for consistency with other actions in this repo.
[1] https://github.com/actions/runner/blob/main/src/Runner.Worker/Handlers/StepHost.cs#L108
Assisted-by: Claude:claude-opus-4-6
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>1 parent 11fa8b6 commit 1e67c1e
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 26 | + | |
0 commit comments