Skip to content

ci: Fix fastlane error in build action (#89) #26

ci: Fix fastlane error in build action (#89)

ci: Fix fastlane error in build action (#89) #26

Workflow file for this run

name: Build APP
on:
push:
branches: [ "master", "old-android" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- uses: sparkfabrik/android-build-action@v1.5.0
with:
project-path: .
output-path: app-debug.apk
fastlane-env: "debug"
ruby-version: "3.3.0"
- uses: actions/upload-artifact@v3
if: github.event_name == 'pull_request'
name: Upload app APK
with:
name: App bundle
path: app-debug.apk
- uses: r0adkll/sign-android-release@v1
if: github.event_name != 'pull_request'
name: Sign app APK
id: sign_app
with:
releaseDirectory: .
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
- uses: actions/upload-artifact@v4
if: github.event_name != 'pull_request'
name: Upload signed app APK
with:
name: Signed app bundle
path: ${{steps.sign_app.outputs.signedReleaseFile}}