-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with multiline packages using black scalar styles >
and |
in YAML.
#84
Comments
The same happens when you do a multiline split. The line is 494 characters long, so ofc you want it to look nicer and split to a multiline one.
Result:
Full log: |
Sorry for the lag here. I'll add a regression for it and address this. Shouldn't be too hard. |
Regressions added on CI. |
>
in yaml>
and |
in YAML.
@panzi it looks like backslashes get retained in the block scalar literal style. Your suggestions did fix the previous issue so we are making progress. https://github.com/awalsh128/cache-apt-pkgs-action-ci/actions/runs/4090270692/jobs/7053564102 I could strip these but it would seem more intuitive that these get omitted since it is part of the YAML syntax and is not a literal. In any case, going to do some more digging and try to find an elegant solution. |
* Address block style package issue #84 #88 * Use cache key for upload artifact name #89. * Sync master back to dev. (#92) * Fix if condition for upload-logs step (#87) Previously the if condition was always evaluating to a truthy string (e.g. 'false == "true"' or 'true == "true"') as the string comparison (`== 'true'`) was not inside the expression syntax (`${{ }}`) and thus being treated as a string rather than being evaluated. * Introduce a force update value for reloading cache #82 --------- Co-authored-by: Leroy Hopson <github@leroy.geek.nz> --------- Co-authored-by: Leroy Hopson <github@leroy.geek.nz>
Regressions are passing now. https://github.com/awalsh128/cache-apt-pkgs-action-ci/actions/runs/4098253383 Going to cut a release and close this out |
Thank you @awalsh128 🥇 |
Error log:
Version: 1.2.2 lastest
GitHub Actions can use the
Folded Block Scalar
syntax. But It seems failed in the latest version.The text was updated successfully, but these errors were encountered: