From d9f5804aa1c6e9fc75bd5544bb183d517998b75a Mon Sep 17 00:00:00 2001 From: Gray Zhang Date: Tue, 9 Sep 2025 21:48:36 +0800 Subject: [PATCH] fix: replace wget with curl for bundletool download MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace wget with curl which has better error handling - Add verification step to ensure bundletool was downloaded - Use -L flag to follow redirects properly 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8217a1d4..8aafbabd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -431,7 +431,13 @@ jobs: # Download bundletool echo "Downloading bundletool..." - wget -q https://github.com/google/bundletool/releases/latest/download/bundletool-all.jar + curl -L -o bundletool-all.jar https://github.com/google/bundletool/releases/latest/download/bundletool-all.jar + + # Verify download + if [ ! -f bundletool-all.jar ]; then + echo "Failed to download bundletool" + exit 1 + fi # Create a dummy debug keystore for bundletool (required for APK generation) echo "Creating dummy keystore..."