Repository navigation
feat: update API sources and regenerate (#14000) #1252
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
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| paths: | |
| - 'gapic-generator-java-bom/**' | |
| - 'gapic-generator-java-pom-parent/**' | |
| - 'java-shared-dependencies/**' | |
| name: sdk-platform-java shared-dependencies version check | |
| env: | |
| BUILD_SUBDIR: sdk-platform-java | |
| jobs: | |
| filter: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| library: ${{ steps.filter.outputs.library }} | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| with: | |
| persist-credentials: false | |
| - uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1 | |
| id: filter | |
| with: | |
| filters: | | |
| library: | |
| - 'sdk-platform-java/**' | |
| upper-bound-check: | |
| needs: filter | |
| if: needs.filter.outputs.library == 'true' && github.repository_owner == 'googleapis' | |
| name: Shared Dependencies BOM upper-bound check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| - run: java -version | |
| - name: Install maven modules | |
| run: | | |
| mvn install -B -ntp -DskipTests -Pquick-build | |
| - name: Check the BOM content satisfies the upper-bound-check test case | |
| run: mvn -B -V -ntp verify -Pquick-build | |
| working-directory: sdk-platform-java/java-shared-dependencies/upper-bound-check |