Skip to content

Commit

Permalink
Only apply on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasanker committed Jan 27, 2024
1 parent da9045c commit 33ed892
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 7 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 Down
7 changes: 0 additions & 7 deletions .github/actions/setup_flutter_environment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ runs:
run: flutter pub get
shell: bash

- 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: "[prod] Change target backend to production"
if: ${{ inputs.build_type == 'production' }}
run: sed -i'' -e 's/.env.develop/.env.production/' lib/env/env.dart
Expand Down

0 comments on commit 33ed892

Please sign in to comment.