snapcrafters / ci

Repository for shared CI tools and actions
https://github.com/snapcrafters/.github/wiki
MIT License
3 stars 7 forks source link

[Bug]: The `get-architectures` job fails on projects that uses a string array in the architectures[].build-on property #45

Open brlin-tw opened 3 months ago

brlin-tw commented 3 months ago

What happened?

The following configuration:

architectures:
  - build-on: [amd64]

triggered the following error:

 Error: csv encoding only works for arrays of scalars (string/numbers/booleans), child[0] is a !!seq

What should have happened?

According to the documentation both data types should be supported.