cardinalby / schema-validator-action

JSON Schema validator Action
MIT License
11 stars 2 forks source link

No support for Manifest V3 ? #5

Closed p0we7 closed 1 year ago

p0we7 commented 1 year ago

I have updated my extension to Manifest V3, but it seems that Actions only supports V2 version, is there any other solution?

Prepare all required actions
Getting action download info
Download action repository 'cardinalby/schema-validator-action@v1' (SHA:c[2](https://github.com/sciooga/v2ex-plus/actions/runs/4456431791/jobs/7826880312#step:5:2)da05[3](https://github.com/sciooga/v2ex-plus/actions/runs/4456431791/jobs/7826880312#step:5:3)77e89dd0c9b7be9[4](https://github.com/sciooga/v2ex-plus/actions/runs/4456431791/jobs/7826880312#step:5:4)20da0b3534b1efcce)
Download action repository 'cardinalby/webext-buildtools-pack-extension-dir-action@v1' (SHA:28fdcac9860fb08555580587cab0d33afe4a341d)
Run ./.github/workflows/actions/build-test-pack
Run cardinalby/schema-validator-action@v1
Loading schema from URL: https://json.schemastore.org/webextension.json ...
200, undefined bytes loaded, Content-Type: undefined
Parsing https://json.schemastore.org/webextension.json as JSON...
Parsed to object
Parsing ./manifest.json as JSON...
Parsed to object
Error: instance.manifest_version is not one of enum values: 2
Error: Error: Validation error
cardinalby commented 1 year ago

Hi!

  1. it's the question to the author of the schema, probably this schema is only for web extensions manifest v2
  2. try https://json.schemastore.org/chrome-manifest schema instead

P.S. cardinalby/schema-validator-action@v2 is available