Skip to content

Commit 7b9feea

Browse files
committed
Maybe fix fdroid_release.yaml
1 parent c1c7998 commit 7b9feea

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/fdroid_release.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ jobs:
2323
distribution: 'temurin'
2424
cache: gradle
2525

26+
# Initialize env.BUILD_TOOL_VERSION
27+
- name: Setup build tool version variable
28+
shell: bash
29+
run: |
30+
BUILD_TOOL_VERSION=$(ls /usr/local/lib/android/sdk/build-tools/ | tail -n 1)
31+
echo "BUILD_TOOL_VERSION=$BUILD_TOOL_VERSION" >> $GITHUB_ENV
32+
echo Last build tool version is: $BUILD_TOOL_VERSION
33+
2634
# Build APK
2735
- name: Build APK
2836
run: ./gradlew assembleRelease
@@ -38,6 +46,8 @@ jobs:
3846
alias: ${{ secrets.ALIAS }}
3947
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
4048
keyPassword: ${{ secrets.KEY_PASSWORD }}
49+
env:
50+
BUILD_TOOLS_VERSION: ${{ env.BUILD_TOOL_VERSION }}
4151

4252
# Build Changelog
4353
- name: Build Changelog

0 commit comments

Comments
 (0)