creating bundletool wrapper script
This commit is contained in:
parent
15a95f2754
commit
0a5f3521f7
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue