From 4b26baba385c9e577507b440d8b8db181163f13b Mon Sep 17 00:00:00 2001 From: Ulises Jeremias Date: Mon, 1 Jul 2024 13:41:21 -0300 Subject: [PATCH] Update generate-readme.yml --- .github/workflows/generate-readme.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-readme.yml b/.github/workflows/generate-readme.yml index 89e918760..ca44ce6be 100644 --- a/.github/workflows/generate-readme.yml +++ b/.github/workflows/generate-readme.yml @@ -57,8 +57,11 @@ jobs: # Get the list of examples previously downloaded EXAMPLES=$(ls examples-*.json) + # Generate the JSON file + ./tools/readme-generator/main.ts --json $EXAMPLES > examples.json + # Generate the README - ./tools/readme-generator/main.ts README.md.tmpl examples.json $EXAMPLES + ./tools/readme-generator/main.ts README.md.tmpl examples.json # Remove the downloaded files rm examples-*.json @@ -78,4 +81,4 @@ jobs: - name: Commit changes uses: EndBug/add-and-commit@v7 with: - message: "Update README" + message: "Update README.md and examples list"