Обновить .gitea/workflows/test.yml

This commit is contained in:
mso7nueh
2024-11-18 14:26:13 +00:00
parent 7979fe17da
commit 3f45a50202

View File

@@ -23,7 +23,7 @@ jobs:
- name: Install Android SDK
run: |
apt-get update
apt-get install -y openjdk-21-jdk wget
apt-get install -y openjdk-11-jdk wget
wget https://dl.google.com/android/repository/commandlinetools-linux-7583922_latest.zip -O commandlinetools.zip
unzip commandlinetools.zip
mkdir -p $HOME/Android/Sdk/cmdline-tools/latest
@@ -39,8 +39,7 @@ jobs:
echo "ANDROID_HOME=$HOME/Android/Sdk" >> $GITHUB_ENV
- name: Install jq
run: |
apt-get install -y jq
run: apt-get install -y jq
- id: flutter-action
uses: actions/flutter-action@v2
@@ -61,12 +60,10 @@ jobs:
run: flutter analyze
- name: Test
run: |
flutter test
run: flutter test
- name: Build apk
run: |
flutter build apk
run: flutter build apk
- name: Rename and move apk
run: |