aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml19
1 files changed, 15 insertions, 4 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index fd371b190..b16c0d58c 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -10,9 +10,11 @@ on:
env:
USE_JAVA_DISTRIBUTION: 'zulu'
USE_JAVA_VERSION: '11'
- # Our Bazel builds currently rely on 5.3.2. The version is set via
+ # This is required by AGP 8.3+.
+ USE_JAVA_VERSION_FOR_PLUGIN: '17'
+ # Our Bazel builds currently rely on 6.4.0. The version is set via
# baselisk by USE_BAZEL_VERSION: https://github.com/bazelbuild/bazelisk.
- USE_BAZEL_VERSION: '5.3.2'
+ USE_BAZEL_VERSION: '6.4.0'
DAGGER_RELEASE_VERSION: "${{ github.event.inputs.dagger_release_version }}"
# The default Maven 3.9.0 has a regression so we manually install 3.8.7.
# https://issues.apache.org/jira/browse/MNG-7679
@@ -37,7 +39,9 @@ jobs:
bazel-test:
name: 'Bazel tests'
needs: validate-latest-dagger-version
- runs-on: ubuntu-latest
+ runs-on:
+ group: large-runner
+ labels: ubuntu-22.04-16core
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/bazel-test
@@ -61,12 +65,19 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- agp: ['7.0.0', '7.1.2']
+ include:
+ - agp: '7.0.0'
+ jdk: '11'
+ - agp: '7.1.2'
+ jdk: '11'
+ - agp: '8.1.0'
+ jdk: '17'
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/artifact-android-local-tests
with:
agp: '${{ matrix.agp }}'
+ jdk: '${{ matrix.jdk }}'
publish-artifacts:
name: 'Publish Artifact'
needs: [bazel-test, artifact-java-local-tests, artifact-android-local-tests, test-gradle-plugin]