From 8542c3dbe7e16d7497eedf64362b98162f634dbb Mon Sep 17 00:00:00 2001 From: heartacker Date: Sat, 11 Nov 2023 14:57:54 +0800 Subject: [PATCH] repo-visualization --- .github/workflows/diagram.yml | 16 ++++++++++++++++ README.md | 2 ++ 2 files changed, 18 insertions(+) create mode 100644 .github/workflows/diagram.yml diff --git a/.github/workflows/diagram.yml b/.github/workflows/diagram.yml new file mode 100644 index 0000000..c005e8b --- /dev/null +++ b/.github/workflows/diagram.yml @@ -0,0 +1,16 @@ +name: Create diagram +on: + workflow_dispatch: {} + push: + branches: + - master +jobs: + get_data: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@master + - name: Update diagram + uses: githubocto/repo-visualizer@master + with: + excluded_paths: "ignore,.github" diff --git a/README.md b/README.md index 704e81a..8ec65d6 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # 1. CScripting +![Visualization of the codebase](./diagram.svg) + [![GitHub stars](https://img.shields.io/github/stars/heartacker/CScripting?style=for-the-badge)](https://github.com/heartacker/CScripting) [![Nuget](https://img.shields.io/nuget/v/CScripting?style=for-the-badge)](https://www.nuget.org/packages/CScripting) ![Nuget](https://img.shields.io/nuget/dt/CScripting?style=for-the-badge)