Skip to content

Commit

Permalink
fixing build tools path
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed May 22, 2024
1 parent 40efc52 commit 391297f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ env:
SENTRY_PROJECT: dev-manager-desktop-ui
SENTRY_ENVIRONMENT: "${{ github.event_name == 'release' && 'release' || 'development' }}"
ANDROID_NDK_VERSION: '26.3.11579264'
ANDROID_BUILD_TOOLS_VERSION: '34.0.0'

jobs:
sentry-create-release:
Expand Down Expand Up @@ -98,14 +99,14 @@ jobs:
if: startsWith(matrix.target, 'android')
uses: android-actions/setup-android@v3
with:
packages: "build-tools;34.0.0 ndk;${{ env.ANDROID_NDK_VERSION }} platforms;android-33"
packages: "build-tools;${{ env.ANDROID_BUILD_TOOLS_VERSION}} ndk;${{ env.ANDROID_NDK_VERSION }} platforms;android-33"

- name: Add Android SDK Paths
if: startsWith(matrix.target, 'android')
shell: bash
run: |
echo ${NDK_HOME}/toolchains/llvm/prebuilt/*/bin >> $GITHUB_PATH
echo ${ANDROID_HOME}/build-tools/*/ >> $GITHUB_PATH
echo ${ANDROID_HOME}/build-tools/${ANDROID_BUILD_TOOLS_VERSION} >> $GITHUB_PATH
env:
NDK_HOME: "${{ env.ANDROID_HOME }}/ndk/${{ env.ANDROID_NDK_VERSION }}"

Expand Down

0 comments on commit 391297f

Please sign in to comment.