-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Specify build tools version, see r0adkll/sign-android-release#84
- Loading branch information
1 parent
0d986ef
commit be466c8
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,13 @@ jobs: | |
- name: Build Release Bundle with Gradle | ||
run: ./gradlew clean bundlePlay -Pbase64EncodedPublicKey=${{secrets.PUBLIC_KEY}} | ||
|
||
- name: Setup Build Tools Version | ||
shell: bash | ||
run: | | ||
BUILD_TOOLS_VERSION=$(ls /usr/local/lib/android/sdk/build-tools/ | tail -n 1) | ||
echo "BUILD_TOOLS_VERSION=$BUILD_TOOLS_VERSION" >> $GITHUB_ENV | ||
echo Last build tools version is: $BUILD_TOOLS_VERSION | ||
- name: Build Release | ||
uses: r0adkll/sign-android-release@v1 | ||
with: | ||
|
@@ -31,6 +38,8 @@ jobs: | |
alias: ${{ secrets.ALIAS }} | ||
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }} | ||
keyPassword: ${{ secrets.KEY_PASSWORD }} | ||
env: | ||
BUILD_TOOLS_VERSION: ${{ env.BUILD_TOOLS_VERSION }} | ||
|
||
- name: Upload Android Release to Play Store | ||
uses: r0adkll/[email protected] | ||
|