From e55aa0c048b517722292763249b1f5c71eab19ee Mon Sep 17 00:00:00 2001 From: qitas Date: Mon, 17 May 2021 11:42:00 +0800 Subject: [PATCH] fix --- .github/workflows/{CI.yml => project.yml} | 1 + .github/workflows/{linux-sdcc-4.0.0.yml => src.yml} | 3 ++- README.md | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) rename .github/workflows/{CI.yml => project.yml} (99%) rename .github/workflows/{linux-sdcc-4.0.0.yml => src.yml} (96%) diff --git a/.github/workflows/CI.yml b/.github/workflows/project.yml similarity index 99% rename from .github/workflows/CI.yml rename to .github/workflows/project.yml index f24a32b..4e0784b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/project.yml @@ -4,6 +4,7 @@ on: push: paths: - 'project/**' + - '**.yml' jobs: CodeCheck: diff --git a/.github/workflows/linux-sdcc-4.0.0.yml b/.github/workflows/src.yml similarity index 96% rename from .github/workflows/linux-sdcc-4.0.0.yml rename to .github/workflows/src.yml index 1d32c52..9f2c043 100644 --- a/.github/workflows/linux-sdcc-4.0.0.yml +++ b/.github/workflows/src.yml @@ -1,9 +1,10 @@ -name: template +name: src on: push: paths: - 'src/**' + - '**.yml' jobs: build: diff --git a/README.md b/README.md index eaf830c..f18cc5c 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,9 @@ [![sites](http://182.61.61.133/link/resources/SoC.png)](http://www.SoC.Xin) +[![Build Status](https://github.com/SoCXin/CH552/workflows/project/badge.svg)](https://github.com/SoCXin/CH552/actions/workflows/project.yml) +[![Build Status](https://github.com/SoCXin/CH552/workflows/src/badge.svg)](https://github.com/SoCXin/CH552/actions/workflows/src.yml) + #### [Vendor](https://github.com/SoCXin/Vendor):[WCH](http://www.wch.cn/) #### [Core](https://github.com/SoCXin/8051):[8051](https://github.com/SoCXin/8051) #### [Level](https://github.com/SoCXin/Level):24MHz