This repository has been archived by the owner on Oct 13, 2023. It is now read-only.
Issue with opensuse images losing environment after toolchain invocation #214
Labels
bug
Something isn't working
Description
I am trying to add opensuse packaging workflows to a project that already has workflows for a bunch of deb and rpm based distros. At a particular step a shell script needs to be run but it causes an error message as if 'bash' is not installed - but prior steps use the same shell without a problem. Upon further debugging I realized it doesn't matter what the 'run' command/script is. Even if I put something very simple like echo or /usr/bin/env there, I get the same error. The error message in its most basic form is,
It says the bash executable is not found but I believe error 126 is a permission error.
Now the reason I am posting this here is because I can use the shell in every step of the workflow before the toolchain step and it works fine. As soon as I run the toolchain step to install cargo/rust and then try to "run" any commands I get a similar error. (Though it doesn't seem to keep an @actions/cache@v3 step from running.)
The issue seems specific to opensuse (leap and tumbleweed). Is there any way I can debug this further?
Workflow code
Action output
I didn't enable debugging because the toolchain step is not really failing. Below toolchain errors exist verbatim (except container id) on the centos/fedora jobs too. So I doubt the log is very useful.
Expected behavior
Expected current value of PATH to be displayed.
The text was updated successfully, but these errors were encountered: