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')}}