Bump com.google.android.material:material from 1.13.0-alpha12 to 1.14.0-alpha02 #1180
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: Build Pull Request rCompatible | |
on: | |
pull_request: | |
branches: [ rCompatible-Dev ] | |
paths: | |
- 'app/**' | |
- 'gradle/**' | |
- 'build.gradle.kts' | |
- 'gradle.properties' | |
- 'settings.gradle.kts' | |
- '.github/workflows/pullRequest.yml' | |
jobs: | |
build: | |
name: Build debug apk from current pull request | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Setup cmake | |
uses: jwlawson/actions-setup-cmake@v2 | |
with: | |
cmake-version: '3.31.6' | |
- name: Setup Ninja | |
run: sudo apt-get install ninja-build | |
- name: Ninja Version | |
run: ninja --version | |
- uses: nttld/setup-ndk@v1 | |
with: | |
ndk-version: r28 | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 23 | |
- name: Cache Gradle dependencies | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
!~/.gradle/caches/build-cache-* | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }} | |
restore-keys: ${{ runner.os }}-gradle- | |
- name: Cache build cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
${{ github.workspace }}/.ccache | |
~/.gradle/caches/build-cache-* | |
key: ${{ runner.os }}-build-cache-${{ github.sha }} | |
restore-keys: ${{ runner.os }}-build-cache- | |
- name: File Permissions | |
run: chmod +x gradlew | |
- name: Accept Preview SDK License | |
run: echo -n -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > /usr/local/lib/android/sdk/licenses/android-sdk-preview-license | |
- name: CMake Version | |
run: cmake --version | |
- name: Build apk | |
id: buildAllApks | |
uses: gradle/actions/setup-gradle@v4 | |
with: | |
gradle-version: wrapper | |
- name: AssembleDebug the project | |
run: ./gradlew assembleDebug | |
- name: Get JSON | |
id: metadataJson | |
run: | | |
content=`cat app/build/outputs/apk/debug/output-metadata.json` | |
content="${content//'%'/'%25'}" | |
content="${content//$'\n'/'%0A'}" | |
content="${content//$'\r'/'%0D'}" | |
echo "::set-output name=json::$content" | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Debug Artifact | |
path: app/build/outputs/apk/debug/app-debug.apk |