Merge branch 'feature/use-google-maps'
This commit is contained in:
@@ -16,20 +16,24 @@ jobs:
|
||||
|
||||
- name: Install prerequisites
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y xz-utils unzip
|
||||
apt-get update
|
||||
apt-get install -y jq
|
||||
|
||||
- uses: https://gitea.com/actions/checkout@v4
|
||||
|
||||
|
||||
- uses: https://github.com/actions/setup-java@v4
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'zulu'
|
||||
|
||||
- name: Fix flutter SDK folder permission
|
||||
run: git config --global --add safe.directory "*"
|
||||
|
||||
- uses: https://github.com/subosito/flutter-action@v2
|
||||
with:
|
||||
channel: stable
|
||||
flutter-version: 3.19.6
|
||||
flutter-version: 3.22.0
|
||||
cache: true
|
||||
|
||||
- name: Setup Android SDK
|
||||
@@ -38,13 +42,13 @@ jobs:
|
||||
- run: flutter pub get
|
||||
working-directory: ./frontend
|
||||
|
||||
- run: flutter build apk --debug --split-per-abi
|
||||
- run: flutter build apk --release --split-per-abi
|
||||
working-directory: ./frontend
|
||||
|
||||
- name: Release APK
|
||||
uses: https://gitea.com/akkuman/gitea-release-action@v1
|
||||
with:
|
||||
files: ./frontendbuild/app/outputs/flutter-apk/*.apk
|
||||
files: ./frontend/build/app/outputs/flutter-apk/*.apk
|
||||
name: Testing release
|
||||
release_name: testing
|
||||
tag: testing
|
||||
|
Reference in New Issue
Block a user