Skip to content

Commit bf75c05

Browse files
committed
add jfrog cli
1 parent 891473b commit bf75c05

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

build-maven/action.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,20 @@ runs:
208208
working-directory: ${{ inputs.working-directory }}
209209
run: $ACTION_PATH_BUILD_MAVEN/build.sh
210210

211+
- name: Setup JFrog CLI for artifact upload
212+
uses: jfrog/setup-jfrog-cli@1641575d87647fb969c0545f0b6a76873e328b7c # v5.0.0
213+
if: |
214+
inputs.mixed-privacy == 'true' && steps.build.outputs.deployed == 'true' &&
215+
(github.event_name != 'pull_request' || inputs.deploy-pull-request == 'true')
216+
with:
217+
# This step only installs the jf binary for deploy-artifacts.sh; build-maven generates
218+
# its own summary later via generate-jfrog-summary.sh, so disable this action's own
219+
# post-job automation (which otherwise fails trying to summarize without a configured
220+
# server URL, since auth happens later inside deploy-artifacts.sh).
221+
disable-auto-build-publish: true
222+
disable-auto-evidence-collection: true
223+
disable-job-summary: true
224+
211225
- name: Artifacts upload
212226
shell: bash
213227
if: |

0 commit comments

Comments
 (0)