native/map/enhc : add marker animation and press callback support #12
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: Android build | |
| on: | |
| pull_request: | |
| jobs: | |
| build-android: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 17 | |
| distribution: temurin | |
| - name: Setup Android SDK | |
| uses: amyu/setup-android@v4 | |
| with: | |
| cache-disabled: true | |
| sdk-version: 34 | |
| build-tools-version: 33.0.2 | |
| - name: Check out repository code | |
| uses: actions/checkout@v4 | |
| - name: Clear Gradle Cache | |
| run: rm -rf $HOME/.gradle/caches/ | |
| - name: Setup node | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 'lts/*' | |
| cache: yarn | |
| - name: Install dependencies | |
| run: yarn --cwd example --frozen-lockfile | |
| - name: Write secrets.properties | |
| run: echo MAPS_API_KEY=your_api_key_here >> example/android/secrets.properties | |
| - name: Build Android | |
| run: cd example/android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug |