mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 07:05:49 +03:00
dfc2a99851
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.11.0 to 3.12.0. - [Release notes](https://github.com/actions/setup-java/releases) - [Commits](https://github.com/actions/setup-java/compare/v3.11.0...cd89f46ac9d01407894225f350157564c9c7cee2) --- updated-dependencies: - dependency-name: actions/setup-java dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
31 lines
1,014 B
YAML
31 lines
1,014 B
YAML
name: "Assemble"
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ master, stable-* ]
|
|
|
|
# Declare default permissions as read only.
|
|
permissions: read-all
|
|
|
|
concurrency:
|
|
group: assemble-flavors-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
flavor:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
flavor: [ Generic, Gplay, Huawei ]
|
|
steps:
|
|
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
|
|
- name: set up JDK 17
|
|
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3
|
|
with:
|
|
distribution: "temurin"
|
|
java-version: 17
|
|
- name: Build ${{ matrix.flavor }}
|
|
run: |
|
|
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" >> gradle.properties
|
|
./gradlew assemble${{ matrix.flavor }}
|