mirror of
https://github.com/MaintainTeam/LastPipeBender.git
synced 2025-03-01 05:48:22 +03:00
fix zipalign not found in release workflow
Github removed older buildtools version. This fix tries to always use the latest version available see https://github.com/r0adkll/sign-android-release/issues/84
This commit is contained in:
parent
76bdb25145
commit
bf023d1f14
1 changed files with 11 additions and 0 deletions
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
|
@ -50,6 +50,13 @@ jobs:
|
|||
- name: build release
|
||||
run: ./gradlew assembleRelease
|
||||
|
||||
- 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 app APK brave
|
||||
uses: r0adkll/sign-android-release@v1
|
||||
# ID used to access action output
|
||||
|
@ -61,6 +68,8 @@ jobs:
|
|||
alias: alias_name
|
||||
keyStorePassword: ${{ secrets.RELEASE_KEYSTORE_PASS }}
|
||||
#keyPassword: ${{ secrets.RELEASE_KEYSTORE_PASS }}
|
||||
env:
|
||||
BUILD_TOOLS_VERSION: ${{ env.BUILD_TOOL_VERSION }}
|
||||
|
||||
- name: Sign app APK braveConscrypt
|
||||
uses: r0adkll/sign-android-release@v1
|
||||
|
@ -73,6 +82,8 @@ jobs:
|
|||
alias: alias_name
|
||||
keyStorePassword: ${{ secrets.RELEASE_KEYSTORE_PASS }}
|
||||
#keyPassword: ${{ secrets.RELEASE_KEYSTORE_PASS }}
|
||||
env:
|
||||
BUILD_TOOLS_VERSION: ${{ env.BUILD_TOOL_VERSION }}
|
||||
|
||||
- name: Upload brave artifact APK
|
||||
uses: actions/upload-artifact@v3
|
||||
|
|
Loading…
Add table
Reference in a new issue