When running k8s-bake in two steps in the same workflow with the same Helm version, the second step will attempt to run Helm using the cached directory rather than the cached executable.
Expected: the second step will run Helm using the executable from the cached directory.
Actual:
Error: Failed to run bake action. Error: Error: Unable to locate executable file: /opt/hostedtoolcache/helm/3.8.2/x64. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
What happened?
When running k8s-bake in two steps in the same workflow with the same Helm version, the second step will attempt to run Helm using the cached directory rather than the cached executable.
Expected: the second step will run Helm using the executable from the cached directory.
Actual:
Example:
Version
Runner
ubuntu-20.04
Relevant log output
From the first step:
From the second step: