- I have a GitHub actions workflow that uses yq
- it does
sudo snap install yq
- It was working well, and recently starting to fail (a couple of weeks ago it was fine)
- it fails for not finding yq (
yq: command not found)
- I even tried the following action which fails:
sudo snap install yq && yq --version
- if I ssh into the worker to debug (using the tmate action), I can use yq. took this debugging info:
$ which yq
/snap/bin/yq
$ echo $PATH
/usr/share/rust/.cargo/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/runner/.dotnet/tools
This might be a Github Actions issue, or a snapcraft issue, but I thought to check here as well if you know about a change to yq (or it's packaging) that might cause this.
sudo snap install yqyq: command not found)sudo snap install yq && yq --versionThis might be a Github Actions issue, or a snapcraft issue, but I thought to check here as well if you know about a change to yq (or it's packaging) that might cause this.