Fix Spring bean wiring: make Neo4j-dependent beans conditional for in… #24
Workflow file for this run
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: Snapshot Deploy (Java) | |
| on: | |
| push: | |
| branches: [java] | |
| paths: ['src/**', 'pom.xml'] | |
| workflow_dispatch: | |
| jobs: | |
| snapshot: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '25' | |
| cache: 'maven' | |
| server-id: central | |
| server-username: MAVEN_USERNAME | |
| server-password: MAVEN_PASSWORD | |
| - name: Build and test | |
| run: mvn clean verify -B | |
| - name: Deploy SNAPSHOT to OSSRH | |
| env: | |
| MAVEN_USERNAME: ${{ secrets.OSS_NEXUS_USER }} | |
| MAVEN_PASSWORD: ${{ secrets.OSS_NEXUS_PASS }} | |
| run: mvn deploy -DskipTests -Dgpg.skip=true -B |