Skip to content

Commit 054caec

Browse files
KnisterPeterZauberNerdChristopherHXmergify[bot]
authored
fix: use correct path to toolcache (#1494)
The toolcache on GitHub Actions need to be in /opt/hostedtoolcache. This is the case for all environment variables set by act, but it's not the case for the volume mounted into the container. Co-authored-by: Björn Brauer <[email protected]> Co-authored-by: ChristopherHX <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent 5a80a04 commit 054caec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/runner/run_context.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ func (rc *RunContext) GetBindsAndMounts() ([]string, map[string]string) {
135135
ext := container.LinuxContainerEnvironmentExtensions{}
136136

137137
mounts := map[string]string{
138-
"act-toolcache": "/toolcache",
138+
"act-toolcache": "/opt/hostedtoolcache",
139139
name + "-env": ext.GetActPath(),
140140
}
141141

0 commit comments

Comments
 (0)