From efd2b086bb11ef69870cfecbcd5d50373ad1584b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 15 Mar 2022 21:02:46 +0000 Subject: [PATCH 1/4] Bump accompanist-systemuicontroller from 0.24.3-alpha to 0.24.4-alpha Bumps [accompanist-systemuicontroller](https://github.com/google/accompanist) from 0.24.3-alpha to 0.24.4-alpha. - [Release notes](https://github.com/google/accompanist/releases) - [Commits](https://github.com/google/accompanist/compare/v0.24.3-alpha...v0.24.4-alpha) --- updated-dependencies: - dependency-name: com.google.accompanist:accompanist-systemuicontroller dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- design-library/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 70880d08366a435940ed66ae17445c10a3514ceb Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Tue, 15 Mar 2022 21:15:17 +0000 Subject: [PATCH 2/4] 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-)" From 0a5f3521f77145d0671ce10d67fdeaa1100579fc Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Tue, 15 Mar 2022 21:56:14 +0000 Subject: [PATCH 4/4] creating bundletool wrapper script --- .github/workflows/check_size.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check_size.yml b/.github/workflows/check_size.yml index f603448..651f4b7 100644 --- a/.github/workflows/check_size.yml +++ b/.github/workflows/check_size.yml @@ -30,7 +30,10 @@ jobs: - 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 + 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