2 changed files with 26 additions and 6 deletions
@ -0,0 +1,25 @@
@@ -0,0 +1,25 @@
|
||||
name: Snapshots |
||||
|
||||
on: |
||||
push: |
||||
branches: [ main, 4.0.x, 3.5.x, 'issue/**' ] |
||||
|
||||
permissions: read-all |
||||
|
||||
jobs: |
||||
build-snapshots: |
||||
name: Build and deploy snapshots |
||||
if: ${{ github.repository_owner == 'spring-projects' }} |
||||
runs-on: ubuntu-latest |
||||
steps: |
||||
- uses: actions/checkout@v6 |
||||
- name: Setup Java and Maven |
||||
uses: spring-projects/spring-data-release/actions/setup-maven@main |
||||
with: |
||||
develocity-access-key: '${{ secrets.DEVELOCITY_ACCESS_KEY }}' |
||||
- name: Deploy to Artifactory |
||||
uses: spring-projects/spring-data-release/actions/maven-artifactory-deploy@main |
||||
with: |
||||
build-name: 'spring-data-commons' |
||||
username: '${{ secrets.ARTIFACTORY_USERNAME }}' |
||||
password: '${{ secrets.ARTIFACTORY_PASSWORD }}' |
||||
Loading…
Reference in new issue