Release/3.0.2 #13
Workflow file for this run
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: Pull request | |
| on: | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| name: Build and running Unit Tests | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v4 | |
| - name: set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| - name: Cache gradle | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.gradle/caches | |
| key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | |
| restore-keys: | | |
| ${{ runner.os }}-gradle- | |
| - name: Run Unit Tests | |
| uses: maierj/fastlane-action@v1.4.0 | |
| env: | |
| APP_BUILD_NUMBER: ${{ env.GITHUB_RUN_ID }} | |
| APP_VERSION_CODE: ${{ github.run_number }} | |
| APP_VERSION_NAME: ${{ github.ref_name }} | |
| with: | |
| lane: unit_test | |
| skip-tracking: false | |
| subdirectory: fastlane | |
| bundle-install-path: CACHE_BUNDLER | |
| - name: Upload Bundle | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: android_debug_apk_${{ github.run_number }}.zip | |
| path: app/build/outputs/apk/debug/app-debug.apk |