diff --git a/.github/workflows/check_size.yml b/.github/workflows/check_size.yml index e7d04a6..651f4b7 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,15 @@ 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.jar + chmod +x bin/bundletool.jar + echo "#!/bin/bash" >> bin/bundletool + echo 'java -jar $(dirname "$0")/bundletool.jar "$@"' >> 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-)" diff --git a/design-library/build.gradle b/design-library/build.gradle index 3f34d0b..b1087b6 100644 --- a/design-library/build.gradle +++ b/design-library/build.gradle @@ -3,5 +3,5 @@ applyAndroidLibraryModule(project) dependencies { implementation project(":core") implementation("io.coil-kt:coil-compose:1.4.0") - implementation "com.google.accompanist:accompanist-systemuicontroller:0.24.3-alpha" + implementation "com.google.accompanist:accompanist-systemuicontroller:0.24.4-alpha" } \ No newline at end of file