ci: Build Android app with fastlane
#2
This file contains 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" | |
on: | |
push: | |
branches: ["master", "ci"] | |
jobs: | |
build: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: yarn install | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: Set up ruby env | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.6.10 | |
bundler-cache: true | |
- name: Build Application | |
run: | | |
cat SECRETS_TAR_GZ_B64 | base64 -d | tar -xz -C fastlane | |
fastlane android build | |
env: | |
SECRETS_TAR_GZ_B64: ${{ secrets.SECRETS_TAR_GZ_B64 }} |