Skip to content

Fix CI builds in Github actions #1592

Fix CI builds in Github actions

Fix CI builds in Github actions #1592

name: Android CI (Dev)
on:
push:
branches: [ version/* ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Ruby v3
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.2
bundler-cache: true
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Set Build Number
env:
APPCENTER_NUMBER: 1210
run: |
echo "BUILD_NUMBER_NEW=$(($APPCENTER_NUMBER+$GITHUB_RUN_NUMBER))" >> $GITHUB_ENV
- name: Fastlane Build
uses: maierj/[email protected]
with:
lane: 'app_build'
options: '{ "app_name": "Unstoppable-Dev", "api_token": "${{secrets.API_TOKEN_DEV}}" }'
env:
BUILD_NUMBER: ${{env.BUILD_NUMBER_NEW}}