ci(ios): Report more details when Fastlane fails #26
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: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: 'package.json' | |
cache: 'yarn' | |
- name: Install Node dependencies | |
run: yarn install | |
- name: Build Application | |
run: | | |
echo $SECRETS_TAR_GZ_B64 | base64 -d | tar -xz -C fastlane | |
bundle exec fastlane android build | |
env: | |
SECRETS_TAR_GZ_B64: ${{ secrets.SECRETS_TAR_GZ_B64 }} | |
RUBYOPT: '-rostruct' # Workaround for "NameError: uninitialized constant Fastlane::OpenStruct" (source: https://github.com/fastlane/fastlane/issues/21944#issuecomment-2045244250) |