feat: Auto Generation of ACL Schema File for Documentation (#9903)

* Add auto generated acl schema files for docs

* update CI

---------

Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
This commit is contained in:
Tillmann
2024-05-29 21:32:58 +09:00
committed by GitHub
parent 594e3e2939
commit 4942d809ab
12 changed files with 603 additions and 4 deletions

View File

@@ -37,6 +37,8 @@ jobs:
- 'core/tauri-utils/src/config.rs'
- 'tooling/cli/schema.json'
- 'core/tauri-config-schema/schema.json'
- 'core/tauri-acl-schema/*.json'
api:
runs-on: ubuntu-latest
@@ -70,8 +72,11 @@ jobs:
with:
workspaces: core -> ../target
- name: generate schema.json
- name: generate config schema
run: cargo build --manifest-path ./core/tauri-config-schema/Cargo.toml
- name: generate ACL schema
run: cargo build --manifest-path ./core/tauri-acl-schema/Cargo.toml
- name: check schema
run: ./.scripts/ci/has-diff.sh