Browse Source

Add GitHub actions CI.

issue/github-actions
Mark Paluch 2 weeks ago
parent
commit
19280921dd
No known key found for this signature in database
GPG Key ID: 55BC6374BAA9D973
  1. 7
      .github/workflows/ci.yml
  2. 25
      .github/workflows/snapshots.yml

7
.github/workflows/ci.yml

@ -21,9 +21,4 @@ jobs: @@ -21,9 +21,4 @@ jobs:
java-version: ${{ matrix.java-version }}
develocity-access-key: '${{ secrets.DEVELOCITY_ACCESS_KEY }}'
- name: Build
run: ./mvnw -Dsort -B -U clean dependency:list verify
- name: Test Summary
uses: test-summary/action@v2.2
with:
paths: '**/TEST-*.xml'
if: always()
uses: spring-projects/spring-data-release/actions/maven-build@main

25
.github/workflows/snapshots.yml

@ -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…
Cancel
Save