1
0
mirror of https://github.com/chatopera/cosin.git synced 2025-08-01 16:38:02 +08:00
This commit is contained in:
Hai Liang Wang 2023-06-21 10:56:19 +08:00
parent c068e20864
commit 9a1038bede
2 changed files with 25 additions and 6 deletions

View File

@ -1,11 +1,11 @@
name: PR Checks Package
name: Compile Checks on PRs
on:
pull_request:
branches: [master]
types: [opened, synchronize, closed]
branches: [master, develop]
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: [self-hosted, linux, cskefu]
mvn-compile:
runs-on: [self-hosted]
steps:
- uses: actions/checkout@v3
with:
@ -16,4 +16,4 @@ jobs:
if [ -f ~/.cskefu.rc ]; then source ~/.cskefu.rc; else echo "Not found ~/.cskefu.rc; find info with https://github.com/cskefu/cskefu/issues/688"; exit 1; fi
java -version && mvn -version
$GITHUB_WORKSPACE/public/plugins/scripts/install-all.sh
cd $GITHUB_WORKSPACE/contact-center && ./admin/package.sh
cd $GITHUB_WORKSPACE/contact-center && ./admin/compile.sh

19
.github/workflows/gitee.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: gitee
on:
- push
- delete
jobs:
sync:
runs-on: ubuntu-latest
name: Git Repo Sync
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: wangchucheng/git-repo-sync@v0.1.0
with:
target-url: https://gitee.com/cskefu/cskefu.git
target-username: ${{ secrets.USERNAME }}
target-token: ${{ secrets.ACCESS_TOKEN }}