Skip to content

Update task

Update task #34

Workflow file for this run

name: Android Mobile CD
on:
push:
branches:
- 'feature/**'
workflow_dispatch:
jobs:
android-build:
name: android-build
runs-on: ubuntu-latest
steps:
- name: Checkout to git repository
uses: actions/checkout@v4
- name: Set up ruby env
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
bundler-cache: true
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 20.0.2+9
- name: Decode signing certificate into a file
env:
CERTIFICATE_BASE64: ${{ secrets.ANDROID_DIST_SIGNING_KEY }}
run: |
echo $CERTIFICATE_BASE64 | base64 --decode > google-release.keystore
- name: Build android beta
run: bundle exec fastlane android apk
env:
KEYSTORE_FILE: ${{ github.workspace }}/google-release.keystore
KEYSTORE_PASSWORD: ${{ secrets.TONKEEPER_UPLOAD_STORE_PASSWORD }}
KEY_ALIAS: ${{ secrets.TONKEEPER_UPLOAD_KEY_ALIAS}}
KEY_PASSWORD: ${{ secrets.TONKEEPER_UPLOAD_KEY_PASSWORD }}
ANDROID_PUBLISHER_CREDENTIALS: ${{ secrets.ANDROID_PUBLISHER_CREDENTIALS }}
- name: Upload android apk to artifacts
uses: actions/upload-artifact@v3
with:
name: Tonkeeper X apk ${{ env.VERSION_CODE }}
path: |
${{ github.workspace }}/apps/wallet/instance/main/build/outputs