Skip to content

Commit

Permalink
Fix signing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperDragonXD authored Jan 16, 2025
1 parent 44ef370 commit d667264
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
run: chmod +x gradlew
- name: Build debug APK
run: ./gradlew assembleDebug
- 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: Sign debug APK
uses: r0adkll/sign-android-release@v1
id: sign-debug-apk
Expand All @@ -40,6 +46,8 @@ jobs:
alias: ${{ secrets.KEY_ALIAS }}
keyStorePassword: ${{ secrets.KEYSTORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
env:
BUILD_TOOLS_VERSION: ${{ env.BUILD_TOOL_VERSION }}
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit d667264

Please sign in to comment.