ci: fix build

This commit is contained in:
vvb2060 2024-08-26 18:34:49 +08:00 committed by John Wu
parent dcd3bc58a3
commit 869aa62328
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ runs:
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
distribution: "temurin" distribution: "temurin"
java-version: "17" java-version: "21"
- name: Set up Python 3 - name: Set up Python 3
uses: actions/setup-python@v5 uses: actions/setup-python@v5

View File

@ -206,7 +206,7 @@ fi
yes | "$sdk" --licenses > /dev/null yes | "$sdk" --licenses > /dev/null
curl -L $lsposed_url -o out/lsposed.zip curl -L $lsposed_url -o out/lsposed.zip
"$sdk" --channel=3 tools platform-tools emulator "$sdk" --channel=3 platform-tools emulator
if [ -n "$1" ]; then if [ -n "$1" ]; then
run_test $1 $2 run_test $1 $2