Update GitHub action branch triggers. #15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Snapshots | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ 3.5.x, 'issue/3.5.x/**' ] | |
| 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-build/actions/[email protected] | |
| with: | |
| develocity-access-key: '${{ secrets.DEVELOCITY_ACCESS_KEY }}' | |
| - name: Deploy to Artifactory | |
| uses: spring-projects/spring-data-build/actions/[email protected] | |
| with: | |
| build-name: 'spring-data-keyvalue' | |
| username: '${{ secrets.ARTIFACTORY_USERNAME }}' | |
| password: '${{ secrets.ARTIFACTORY_PASSWORD }}' |