fetching bundletool

This commit is contained in:
Adam Brown 2022-03-15 21:15:17 +00:00
parent efd2b086bb
commit 70880d0836
1 changed files with 9 additions and 3 deletions

View File

@ -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-)"