try better upload
Some checks failed
continuous-integration/drone/push Build is failing
Test, Build and Release apk / Build APK (push) Failing after 1m5s
Test, Build and Release web / Build Web (push) Successful in 22s

This commit is contained in:
Remy Moll 2024-05-04 13:43:50 +02:00
parent 31305b72c4
commit d0da163440

View File

@ -9,7 +9,7 @@ jobs:
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y xz-utils unzip sudo apt-get install -y xz-utils unzip
- uses: actions/checkout@v4 - uses: https://gitea.com/actions/checkout@v4
- uses: https://github.com/actions/setup-java@v4 - uses: https://github.com/actions/setup-java@v4
with: with:
java-version: '17' java-version: '17'
@ -19,15 +19,14 @@ jobs:
channel: stable channel: stable
flutter-version: 3.19.6 flutter-version: 3.19.6
cache: true cache: true
- run: flutter config --no-cli-animations
- name: Setup Android SDK - name: Setup Android SDK
uses: https://github.com/android-actions/setup-android@v3 uses: https://github.com/android-actions/setup-android@v3
- run: flutter pub get -v - run: flutter pub get
# - run: flutter test # - run: flutter test
- run: flutter build apk --debug --split-per-abi - run: flutter build apk --debug --split-per-abi
- name: Upload APK as artifact - name: Upload APK as artifact
uses: actions/upload-artifact@v4 uses: https://gitea.com/actions/upload-artifact@v4
with: with:
name: app name: app
path: build/app/outputs/**/*.apk path: build/app/outputs/flutter-apk/*.apk