fetching bundletool
This commit is contained in:
parent
efd2b086bb
commit
70880d0836
|
@ -1,11 +1,11 @@
|
||||||
name: Assemble
|
name: Check Size
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
assemble-debug:
|
check-size:
|
||||||
name: Assemble debug variant
|
name: Check Size
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
|
@ -28,6 +28,12 @@ jobs:
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
java-version: '11'
|
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
|
- name: Check release size
|
||||||
run: |
|
run: |
|
||||||
echo "::set-output name=APK_SIZE::$(./tools/check-size.sh | tail -1 | cut -d ',' -f2-)"
|
echo "::set-output name=APK_SIZE::$(./tools/check-size.sh | tail -1 | cut -d ',' -f2-)"
|
||||||
|
|
Loading…
Reference in New Issue