mirror of
https://github.com/chatopera/cosin.git
synced 2025-06-16 18:30:03 +08:00
https://github.com/cskefu/cskefu/issues/776 fix checks perf
This commit is contained in:
parent
e54c4259b1
commit
c48b620fb5
@ -1,10 +1,10 @@
|
||||
name: Package
|
||||
name: Compile Checks on PRs
|
||||
on:
|
||||
pull_request:
|
||||
branches: [master, develop]
|
||||
types: [opened, synchronize, reopened]
|
||||
jobs:
|
||||
build:
|
||||
mvn-compile:
|
||||
runs-on: [self-hosted]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@ -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
|
@ -10,4 +10,10 @@ baseDir=$(cd `dirname "$0"`;pwd)
|
||||
# main
|
||||
[ -z "${BASH_SOURCE[0]}" -o "${BASH_SOURCE[0]}" = "$0" ] || return
|
||||
cd $baseDir/../app
|
||||
mvn clean compile
|
||||
mvn -DskipTests clean compile
|
||||
# take too long time with dev002 for uploading artifact, skip this operation
|
||||
# $baseDir/deploy.app.sh
|
||||
|
||||
if [ ! $? -eq 0 ]; then
|
||||
exit 1
|
||||
fi
|
Loading…
x
Reference in New Issue
Block a user