vrchat-community / template-package

WIP Package Template Repository
https://vrchat-community.github.io/template-package/
58 stars 18 forks source link

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

Open Hackebein opened 4 months ago

Hackebein commented 4 months ago

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:

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