refactor: consolidate Dependabot dependency groups and remove placeholder pom.xml #2842
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: Java CI with Gradle | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main, support/2.x.x] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: 21 | |
| distribution: 'temurin' | |
| cache: gradle | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Build with Gradle | |
| run: ./gradlew build | |
| - name: Build with Java 8 | |
| working-directory: ./java-8 | |
| run: .././gradlew build | |
| - name: Upload a Build Artifact | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: drop | |
| path: | | |
| **/libs/* | |
| build/generated-pom.xml | |
| build/generated-pom.xml.asc | |
| build.gradle | |
| gradlew | |
| gradlew.bat | |
| settings.gradle | |
| gradle.properties | |
| **/gradle/** | |
| Scripts/** | |
| dependency-submission: | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: 21 | |
| distribution: 'temurin' | |
| cache: gradle | |
| - name: Generate and submit dependency graph | |
| uses: gradle/actions/dependency-submission@v4 |