File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ function build() {
3535 # stop early for invalid maven version and branch/tag combination
3636 pmd_ci_maven_verify_version || exit 0
3737
38- if [ " $( pmd_ci_utils_get_os) " != " linux" ]; then
38+ if [[ " $( pmd_ci_utils_get_os) " != " linux" || " ${DEPLOY} " != " true " ] ]; then
3939 pmd_ci_log_group_start " Build with mvnw"
4040 ${xvfb_cmd} ./mvnw clean verify \
4141 --show-version --errors --batch-mode --no-transfer-progress \
Original file line number Diff line number Diff line change 44 targetPlatform :
55 description : ' The eclipse target platform to build the plugins against'
66 required : true
7+ deploy :
8+ description : ' Whether to build only or also deploy the update site'
9+ required : true
710 pmdCiSecretPassphrase :
811 description : ' Secret needed for releases'
912 required : false
1922 shell : bash
2023 env :
2124 TARGET_PLATFORM : ${{ inputs.targetPlatform }}
25+ DEPLOY : ${{ inputs.deploy }}
2226 PMD_CI_SECRET_PASSPHRASE : ${{ inputs.pmdCiSecretPassphrase }}
2327 GITHUB_TOKEN : ${{ inputs.githubToken }}
Original file line number Diff line number Diff line change 3030 uses : ./.github/actions/build
3131 with :
3232 targetPlatform : 2023-03
33+ deploy : true
3334 pmdCiSecretPassphrase : ${{ secrets.PMD_CI_SECRET_PASSPHRASE }}
3435 githubToken : ${{ secrets.GITHUB_TOKEN }}
3536
7071 uses : ./.github/actions/build
7172 with :
7273 targetPlatform : ${{ matrix.targetPlatform }}
74+ deploy : false
7375 pmdCiSecretPassphrase : ${{ secrets.PMD_CI_SECRET_PASSPHRASE }}
7476 githubToken : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments