Skip to content

Commit b307d7f

Browse files
committed
fix(ci): fix missing build-tools
1 parent b55ef1f commit b307d7f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/release-pocket-android.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ jobs:
3838
distribution: temurin
3939
java-version: '21'
4040

41+
- name: Setup Android SDK
42+
uses: android-actions/setup-android@v3
43+
4144
- uses: pnpm/action-setup@v4
4245
with:
4346
run_install: false
@@ -46,6 +49,11 @@ jobs:
4649
node-version: lts/*
4750
cache: pnpm
4851

52+
- name: Install Android build tools
53+
run: |
54+
sdkmanager "build-tools;36.1.0"
55+
echo "${ANDROID_SDK_ROOT:-$ANDROID_HOME}/build-tools/36.1.0" >> "$GITHUB_PATH"
56+
4957
- run: pnpm install --frozen-lockfile
5058
- run: pnpm run build:packages
5159

0 commit comments

Comments
 (0)