Skip to content

Commit

Permalink
Merge pull request #40 from rogergcc/dev
Browse files Browse the repository at this point in the history
wip update build gradle
  • Loading branch information
rogergcc authored Oct 14, 2024
2 parents c250e18 + 842cfac commit da1fbdf
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/AndroidBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
# - name: Install Android SDK
# run: |
# echo "y" | sdkmanager --sdk_root=$ANDROID_SDK_ROOT --install "platforms;android-34" "build-tools;34.0.0" "platform-tools"
- name: Install Android SDK
run: |
mkdir -p $HOME/Android/Sdk
echo "y" | sdkmanager --sdk_root=$HOME/Android/Sdk --install "platforms;android-34" "build-tools;34.0.0" "platform-tools"
env:
ANDROID_SDK_ROOT: $HOME/Android/Sdk
PATH: $HOME/Android/Sdk/tools/bin:$HOME/Android/Sdk/platform-tools:$PATH
# - name: Install Android SDK
# run: |
# mkdir -p $HOME/Android/Sdk
# echo "y" | sdkmanager --sdk_root=$HOME/Android/Sdk --install "platforms;android-34" "build-tools;34.0.0" "platform-tools"
# env:
# ANDROID_SDK_ROOT: $HOME/Android/Sdk
# PATH: $HOME/Android/Sdk/tools/bin:$HOME/Android/Sdk/platform-tools:$PATH

- name: Grant execute permission for gradlew
run: chmod +x gradlew
Expand All @@ -58,6 +58,9 @@ jobs:
alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
env:
# override default build-tools version (33.0.0) -- optional
BUILD_TOOLS_VERSION: "34.0.0"

- uses: actions/[email protected]
with:
Expand Down

0 comments on commit da1fbdf

Please sign in to comment.