Skip to content

Merge pull request #2 from hardingadonis/imgbot #7

Merge pull request #2 from hardingadonis/imgbot

Merge pull request #2 from hardingadonis/imgbot #7

Workflow file for this run

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/setup-java@v3.10.0
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