Skip to content

Commit 391297f

Browse files
committed
fixing build tools path
1 parent 40efc52 commit 391297f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ env:
1313
SENTRY_PROJECT: dev-manager-desktop-ui
1414
SENTRY_ENVIRONMENT: "${{ github.event_name == 'release' && 'release' || 'development' }}"
1515
ANDROID_NDK_VERSION: '26.3.11579264'
16+
ANDROID_BUILD_TOOLS_VERSION: '34.0.0'
1617

1718
jobs:
1819
sentry-create-release:
@@ -98,14 +99,14 @@ jobs:
9899
if: startsWith(matrix.target, 'android')
99100
uses: android-actions/setup-android@v3
100101
with:
101-
packages: "build-tools;34.0.0 ndk;${{ env.ANDROID_NDK_VERSION }} platforms;android-33"
102+
packages: "build-tools;${{ env.ANDROID_BUILD_TOOLS_VERSION}} ndk;${{ env.ANDROID_NDK_VERSION }} platforms;android-33"
102103

103104
- name: Add Android SDK Paths
104105
if: startsWith(matrix.target, 'android')
105106
shell: bash
106107
run: |
107108
echo ${NDK_HOME}/toolchains/llvm/prebuilt/*/bin >> $GITHUB_PATH
108-
echo ${ANDROID_HOME}/build-tools/*/ >> $GITHUB_PATH
109+
echo ${ANDROID_HOME}/build-tools/${ANDROID_BUILD_TOOLS_VERSION} >> $GITHUB_PATH
109110
env:
110111
NDK_HOME: "${{ env.ANDROID_HOME }}/ndk/${{ env.ANDROID_NDK_VERSION }}"
111112

0 commit comments

Comments
 (0)