Skip to content

Commit

Permalink
Create artifactory.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mhratson authored Sep 5, 2024
1 parent 58c7801 commit 6382402
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/artifactory.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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: ${{ matrix.java-ver }}
distribution: ${{ matrix.java-dist }}
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

0 comments on commit 6382402

Please sign in to comment.