Commit 085238e
committed
Use env.GITHUB_WORKSPACE for container job artifact paths
For jobs running inside containers (container: directive), use
${{ env.GITHUB_WORKSPACE }} instead of ${{ github.workspace }}.
The context variable github.workspace contains the HOST path,
while the environment variable GITHUB_WORKSPACE is set correctly
inside the container.
Rule:
- Outside containers: use ${{ github.workspace }}
- Inside containers: use ${{ env.GITHUB_WORKSPACE }}
Note: This work was completed with AI assistance (Claude Code).1 parent 08bc035 commit 085238e
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
| 478 | + | |
| 479 | + | |
478 | 480 | | |
479 | 481 | | |
480 | 482 | | |
481 | 483 | | |
482 | 484 | | |
483 | | - | |
| 485 | + | |
484 | 486 | | |
485 | 487 | | |
486 | 488 | | |
0 commit comments