mirror of
https://github.com/spring-cloud/spring-cloud-netflix.git
synced 2026-09-17 07:43:44 +00:00
13 lines
791 B
YAML
13 lines
791 B
YAML
name: Build Release
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Build Release
|
|
shell: bash
|
|
# If we are on Java 8 we need to build the docs zip for jubilee projects so it is distributed as part of the release
|
|
run: |
|
|
if java -version 2>&1 | grep -q '1\.8\.'; then
|
|
./mvnw --no-transfer-progress --batch-mode --settings release-train-settings.xml clean deploy --activate-profiles releaseTrain,docs -DaltDeploymentRepository="release-train::default::file://$(pwd)/deployment-repository" -DskipTests
|
|
else
|
|
./mvnw --no-transfer-progress --batch-mode --settings release-train-settings.xml clean deploy --activate-profiles releaseTrain -DaltDeploymentRepository="release-train::default::file://$(pwd)/deployment-repository" -DskipTests
|
|
fi |