Skip to content

Artifactory

Artifactory #1

Workflow file for this run

name: Artifactory
on:
workflow_dispatch: # manual trigger
#release:
# types: [published]
jobs:
publish:
# if: startsWith(github.event.ref, 'release/')
name: publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # so gradle doesn't fail traversing the history
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: microsoft
cache: gradle
- uses: gradle/actions/setup-gradle@v4 # v4.0.0
- name: publish
run: |
./gradlew :artifactoryPublish :cruise-control:artifactoryPublish :cruise-control-core:artifactoryPublish :cruise-control-metrics-reporter:artifactoryPublish