From 2380c6985fe7879324b848b426706c76988072a6 Mon Sep 17 00:00:00 2001 From: "Yangkai.Shen" <237497819@qq.com> Date: Wed, 17 Aug 2022 15:21:56 +0800 Subject: [PATCH] =?UTF-8?q?:construction=5Fworker:=20=E6=9B=B4=E6=96=B0=20?= =?UTF-8?q?CI=20=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/{maven.yml => check_compile.yml} | 7 +++++++ 1 file changed, 7 insertions(+) rename .github/workflows/{maven.yml => check_compile.yml} (67%) diff --git a/.github/workflows/maven.yml b/.github/workflows/check_compile.yml similarity index 67% rename from .github/workflows/maven.yml rename to .github/workflows/check_compile.yml index 8238c76..ff9fa3c 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/check_compile.yml @@ -17,4 +17,11 @@ jobs: distribution: 'corretto' cache: maven - name: 编译检查 + id: compile run: mvn clean compile -DskipTests -Dmaven.javadoc.skip=true -B -V + - name: 通知 + uses: yakumioto/serverchan-action@v2 + with: + key: ${{ secrets.sckey }} + text: "[CI-BOT] - $GITHUB_REPOSITORY" + desp: "仓库名称:$GITHUB_REPOSITORY\nCI任务:$GITHUB_WORKFLOW\n运行结果:"+${{join(steps.compile.outputs.*, '\n')}}