Skip to content

Commit

Permalink
Merge branch 'main' into ticket-menu-item
Browse files Browse the repository at this point in the history
  • Loading branch information
marfavi authored Jan 27, 2024
2 parents 196dc47 + 242f176 commit 658fb80
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/actions/build_android/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ runs:
with:
build_type: ${{ inputs.build_type }}

- name: Setup build tool version variable
shell: bash
run: |
BUILD_TOOL_VERSION=$(ls /usr/local/lib/android/sdk/build-tools/ | tail -n 1)
echo "BUILD_TOOL_VERSION=$BUILD_TOOL_VERSION" >> $GITHUB_ENV
echo Last build tool version is: $BUILD_TOOL_VERSION
- name: "[dev] Build Android app (apk)"
if: ${{ inputs.build_type == 'development' }}
run: |
Expand All @@ -74,6 +81,8 @@ runs:
alias: ${{ inputs.alias }}
keyStorePassword: ${{ inputs.keyStorePassword }}
keyPassword: ${{ inputs.keyPassword }}
env:
BUILD_TOOLS_VERSION: ${{ env.BUILD_TOOL_VERSION }}

- name: "[prod] Upload app bundle"
if: ${{ !!inputs.store_artifacts && inputs.build_type == 'production'}}
Expand Down

0 comments on commit 658fb80

Please sign in to comment.