You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
790 B
25 lines
790 B
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 }}'
|
|
|