forked from eatvio/eatvio_app
Обновить .gitea/workflows/test.yml
This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user