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