[GitHub Actions] Update build-app.sh

This commit is contained in:
Corneil du Plessis
2022-11-01 17:17:11 +02:00
parent 59e0964385
commit f8e9980af6
2 changed files with 6 additions and 6 deletions

View File

@@ -63,10 +63,10 @@ pushd "$PROJECT_FOLDER" > /dev/null
rm -rf apps
if [ -d "src/main/java" ]; then
echo "Deploying:$APP_FOLDER"
$PROJECT_FOLDER/mvnw $MAVEN_OPT -s $SCDIR/.settings.xml clean $MAVEN_GOAL -U -Pintegration
$PROJECT_FOLDER/mvnw $MAVEN_OPT -s $SCDIR/.settings.xml clean $MAVEN_GOAL -Pintegration
else
echo "Packaging:$APP_FOLDER"
$PROJECT_FOLDER/mvnw $MAVEN_OPT -s $SCDIR/.settings.xml clean install -U -Pintegration
$PROJECT_FOLDER/mvnw $MAVEN_OPT -s $SCDIR/.settings.xml clean install -Pintegration
fi
if [ ! -d apps ]; then
echo "Cannot find $APP_FOLDER/apps"
@@ -81,7 +81,7 @@ pushd "$PROJECT_FOLDER" > /dev/null
for app in $APPS; do
pushd "$app" > /dev/null
echo "Building:$APP_FOLDER/apps/$app"
./mvnw $MAVEN_OPT -s $SCDIR/.settings.xml install deploy -U -Pintegration
./mvnw $MAVEN_OPT -s $SCDIR/.settings.xml install deploy -Pintegration
for v in $JDKS; do
echo "Pack:$app:$VERSION-jdk$v"
pack build \

View File

@@ -29,6 +29,6 @@ else
MAVEN_GOAL="install deploy"
fi
# -T 2C
./mvnw $MAVEN_OPT -s ./.settings.xml $MAVEN_GOAL -U -T 1C -f stream-applications-build
./mvnw $MAVEN_OPT -s ./.settings.xml $MAVEN_GOAL -U -T 1C -f functions
./mvnw $MAVEN_OPT -s ./.settings.xml $MAVEN_GOAL -U -T 1C -f applications/stream-applications-core
./mvnw $MAVEN_OPT -s ./.settings.xml $MAVEN_GOAL -T 1C -f stream-applications-build
./mvnw $MAVEN_OPT -s ./.settings.xml $MAVEN_GOAL -T 1C -f functions
./mvnw $MAVEN_OPT -s ./.settings.xml $MAVEN_GOAL -T 1C -f applications/stream-applications-core