creating bundletool wrapper script

This commit is contained in:
Adam Brown 2022-03-15 21:56:14 +00:00
parent 15a95f2754
commit 0a5f3521f7
1 changed files with 4 additions and 1 deletions

View File

@ -30,7 +30,10 @@ jobs:
- name: Fetch bundletool - name: Fetch bundletool
run: | 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 chmod +x bin/bundletool
echo "$(pwd)/bin" >> $GITHUB_PATH echo "$(pwd)/bin" >> $GITHUB_PATH