Skip to content

Commit

Permalink
Remove special Spring Boot 1.x handling from GitHub CI build script (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
deki committed Jul 23, 2021
1 parent 593ae0d commit 67b3bcb
Showing 1 changed file with 8 additions and 24 deletions.
32 changes: 8 additions & 24 deletions gha_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,27 +85,11 @@ function sample {
# set up the master pom otherwise we won't be able to find new dependencies
cd ${WORKING_DIR}/ && mvn -q --non-recursive clean install

case $1 in
# special case for spring since we include both spring and springboot 1.x in one package
spring)
install ${FRAMEWORK} ${EXTRA_PARAMS}
if [[ "$RUN_ARCHETYPE" = true ]] ; then
archetype ${FRAMEWORK}
archetype springboot
fi
if [[ "$RUN_SAMPLES" = true ]] ; then
sample ${FRAMEWORK}
sample springboot
fi
break
;;
*)
install ${FRAMEWORK} ${EXTRA_PARAMS}
if [[ "$RUN_ARCHETYPE" = true ]] ; then
archetype ${FRAMEWORK}
fi
if [[ "$RUN_SAMPLES" = true ]] ; then
sample ${FRAMEWORK}
fi
;;
esac
install ${FRAMEWORK} ${EXTRA_PARAMS}
if [[ "$RUN_ARCHETYPE" = true ]] ; then
archetype ${FRAMEWORK}
fi
if [[ "$RUN_SAMPLES" = true ]] ; then
sample ${FRAMEWORK}
fi
;;

0 comments on commit 67b3bcb

Please sign in to comment.