Bump version code and name #234
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 CI (release) | |
| on: | |
| push: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Setup Ruby v3.2 | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.2.2 | |
| bundler-cache: true | |
| - name: Install Ruby Gems (Bundler) | |
| run: | | |
| bundle install --jobs 4 --retry 3 | |
| working-directory: fastlane/ | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Set Build Number | |
| env: | |
| APPCENTER_NUMBER: 147 | |
| run: | | |
| echo "BUILD_NUMBER_NEW=$(($APPCENTER_NUMBER+$GITHUB_RUN_NUMBER))" >> $GITHUB_ENV | |
| - name: Create service account key file | |
| run: | | |
| echo '${{ secrets.FIREBASE_SERVICE_ACCOUNT_KEY }}' > service-account.json | |
| - name: Fastlane Build | |
| uses: maierj/fastlane-action@v3.0.0 | |
| with: | |
| lane: 'app_build_release' | |
| options: '{ "app_name": "Unstoppable-Release" }' | |
| subdirectory: 'fastlane' | |
| env: | |
| BUILD_NUMBER: ${{env.BUILD_NUMBER_NEW}} |