Fix CI script build command
This commit is contained in:
@@ -2,17 +2,10 @@
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
readonly SKIP_TESTS="${SKIP_TESTS:-false}"
|
||||
|
||||
# shellcheck source=common.sh
|
||||
source "$(dirname "$0")/common.sh"
|
||||
repository=$(pwd)/distribution-repository
|
||||
if [ "$SKIP_TESTS" == "true" ]; then
|
||||
build_task=assemble
|
||||
else
|
||||
build_task=build matrixTests
|
||||
fi
|
||||
|
||||
pushd git-repo >/dev/null
|
||||
./gradlew clean "${build_task}" dist publish -PpublicationRepository="${repository}"
|
||||
./gradlew clean build matrixTests dist publish -PpublicationRepository="${repository}"
|
||||
popd >/dev/null
|
||||
|
||||
Reference in New Issue
Block a user