From 0a5f3521f77145d0671ce10d67fdeaa1100579fc Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Tue, 15 Mar 2022 21:56:14 +0000 Subject: [PATCH] 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