Skip to content

Commit 66bb4d7

Browse files
Snapshot Build action
1 parent 65cf8d4 commit 66bb4d7

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/snapshots.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Snapshot Build
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
# branches: [ main, 5.0.x, 4.5.x, 'issue/**' ]
7+
branches: [ 'issue/actions' ]
8+
9+
permissions: read-all
10+
11+
jobs:
12+
build-snapshots:
13+
name: Build and deploy snapshots
14+
if: ${{ github.repository_owner == 'spring-projects' }}
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v6
18+
- name: Setup Java and Maven
19+
uses: spring-projects/spring-data-release/actions/setup-maven@main
20+
with:
21+
develocity-access-key: '${{ secrets.DEVELOCITY_ACCESS_KEY }}'
22+
- name: Deploy to Artifactory
23+
uses: spring-projects/spring-data-release/actions/maven-artifactory-deploy@main
24+
with:
25+
build-name: 'spring-data-rest'
26+
username: '${{ secrets.ARTIFACTORY_USERNAME }}'
27+
password: '${{ secrets.ARTIFACTORY_PASSWORD }}'

0 commit comments

Comments
 (0)