We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1c7998 commit 7b9feeaCopy full SHA for 7b9feea
.github/workflows/fdroid_release.yaml
@@ -23,6 +23,14 @@ jobs:
23
distribution: 'temurin'
24
cache: gradle
25
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
+
34
# Build APK
35
- name: Build APK
36
run: ./gradlew assembleRelease
@@ -38,6 +46,8 @@ jobs:
38
46
alias: ${{ secrets.ALIAS }}
39
47
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
40
48
keyPassword: ${{ secrets.KEY_PASSWORD }}
49
+ env:
50
+ BUILD_TOOLS_VERSION: ${{ env.BUILD_TOOL_VERSION }}
41
51
42
52
# Build Changelog
43
53
- name: Build Changelog
0 commit comments