From 70880d08366a435940ed66ae17445c10a3514ceb Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Tue, 15 Mar 2022 21:15:17 +0000 Subject: [PATCH] fetching bundletool --- .github/workflows/check_size.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check_size.yml b/.github/workflows/check_size.yml index e7d04a6..f603448 100644 --- a/.github/workflows/check_size.yml +++ b/.github/workflows/check_size.yml @@ -1,11 +1,11 @@ -name: Assemble +name: Check Size on: pull_request: jobs: - assemble-debug: - name: Assemble debug variant + check-size: + name: Check Size runs-on: ubuntu-latest concurrency: @@ -28,6 +28,12 @@ jobs: distribution: 'adopt' java-version: '11' + - name: Fetch bundletool + run: | + curl -s -L https://github.com/google/bundletool/releases/download/1.9.0/bundletool-all-1.9.0.jar --create-dirs -o bin/bundletool + chmod +x bin/bundletool + echo "$(pwd)/bin" >> $GITHUB_PATH + - name: Check release size run: | echo "::set-output name=APK_SIZE::$(./tools/check-size.sh | tail -1 | cut -d ',' -f2-)"