mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 10:27:00 +02:00
Since Kernel 5.10, Github Actions simply stopped working. What happens is that `KV_MAIN` gets passed as environmental variable to the inline script, but not as string but float, because it contains `.`. Apparently the last digit of the misinterpreted float number is afterwards simply dropped by YAML parsing library used by GA. As a result, `KV_MAIN` becomes `5.1` instead of `5.10`, `versionMain` becomes simply `5.10`, not `5.10.6`. Then in the next steps, both `VERSION_NEW` and `VERSION_OLD` become `5.10`, and the script thinks it is already the latest version, so simply does not create a new pull request. It was not an issue when Kernel version is <= 5.9, because no digit got dropped from the variable. Now the hidden issue was uncovered. Simply set `KV_MAIN` or others explicitly as strings, by adding quotes, to avoid such issues. |
||
---|---|---|
.. | ||
src/third_party/coreos-overlay |