ci: Maven profile for Artifact Registry release #1505
This file contains 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
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
# Keeping this file separate as the dependencies check would use more | |
# repositories than needed this downstream check for GraalVM native image and | |
# other Maven plugins. | |
name: downstream | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [8, 11] | |
repo: | |
- java-bigquery | |
- java-bigtable | |
job-type: | |
- test # maven-surefire-plugin | |
- lint # fmt-maven-plugin and google-java-format | |
- clirr # clirr-maven-plugin | |
- javadoc # maven-javadoc-plugin | |
- javadoc-with-doclet # test javadoc generation with doclet | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version: ${{matrix.java}} | |
- run: java -version | |
- run: sudo apt-get update -y | |
- run: sudo apt-get install libxml2-utils | |
- run: .kokoro/client-library-check.sh ${{matrix.repo}} ${{matrix.job-type}} | |
javadoc-with-doclet: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
repo: | |
- java-bigtable | |
- java-bigquery | |
- java-storage | |
- java-storage-nio | |
- java-spanner | |
- java-spanner-jdbc | |
- java-pubsub | |
- java-pubsublite | |
- java-logging | |
- java-logging-logback | |
- java-firestore | |
- java-datastore | |
- java-bigquerystorage | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- run: java -version | |
- run: sudo apt-get update -y | |
- run: sudo apt-get install libxml2-utils | |
- run: .kokoro/client-library-check-doclet.sh ${{matrix.repo}} |