mirror of
https://github.com/actions/runner-container-hooks.git
synced 2025-12-14 16:46:43 +00:00
use variable for env GITHUB_WORKSPACE
This commit is contained in:
@@ -54,10 +54,7 @@ export function containerVolumes(
|
||||
}
|
||||
sourceVolumePath = userVolume.sourceVolumePath
|
||||
} else {
|
||||
sourceVolumePath = path.join(
|
||||
process.env.GITHUB_WORKSPACE as string,
|
||||
userVolume.sourceVolumePath
|
||||
)
|
||||
sourceVolumePath = path.join(workspacePath, userVolume.sourceVolumePath)
|
||||
}
|
||||
|
||||
mounts.push({
|
||||
|
||||
Reference in New Issue
Block a user