template-package icon indicating copy to clipboard operation
template-package copied to clipboard

Update release.yml - fix yaml parsing error in unitypackage creation

Open Hackebein opened this issue 1 year ago • 0 comments

bump pCYSl5EDgo/create-unitypackage from 1.1 to 1.2 + hotfix https://github.com/pCYSl5EDgo/create-unitypackage/compare/cfcd3cf...master/

fix es an error in yaml parsing. This got reported by @momo-the-monster (https://github.com/pCYSl5EDgo/create-unitypackage/issues/6) and fixed in the used github action

steps to reproduce:

  • download OpenVR Unity XR Package (https://github.com/ValveSoftware/unity-xr-plugin/releases/tag/v1.1.4)
  • unpack it into the project
  • run ci

current behaviour:

file:///home/runner/work/_actions/pCYSl5EDgo/create-unitypackage/cfcd3cf0391a5ef1306342794866a9897c32af0b/node_modules/js-yaml/dist/js-yaml.mjs:1273
  return new exception(message, mark);
         ^
YAMLException: incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line (15:7)

 12 |   validateReferences: 1
 13 |   platformData:
 14 |   - first:
 15 |       : Any
------------^
 16 |     second:
 17 |       enabled: 0

Hackebein avatar Jul 29 '24 09:07 Hackebein