From 151f2d112043899e1bc7e68cc300acd3336cdf0b Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Sun, 18 Aug 2024 22:01:02 +0800 Subject: [PATCH] doc: update document. #2 --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index c668c29..03e62ea 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,22 @@ Output Project Structure └── tsconfig.json ``` +```yml +- name: Print Folder Tree + uses: jaywcjlove/github-action-folder-tree@main + id: tree + with: + exclude: "node_modules|dist|.git|.husky" + path: ./src + depth: 2 + +- name: Modify README.md + uses: jaywcjlove/github-action-modify-file-content@main + with: + path: README.md + body: ${{ steps.tree.outputs.content }} +``` + ## Inputs - `path` Folder path. (default `./`)