[ImgBot] Optimize images #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ReVanced Test Build | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Java JDK | |
uses: actions/[email protected] | |
with: | |
java-version: "17" | |
distribution: "zulu" | |
- name: Download APKs from APKMirror | |
run: ./download_apkmirror.sh | |
- name: Test Build APKs | |
run: | | |
./build_revanced.sh | |
for filename in build/*.apk; do | |
if [ -e "$filename" ]; then | |
printf '"%s" exists\n' "$filename" | |
else | |
echo "APK build failed" | |
exit 1 | |
fi | |
done | |
rm -rf build |