update ci build
This commit is contained in:
@@ -62,18 +62,6 @@ jobs:
|
||||
bundle config path vendor/bundle
|
||||
bundle install
|
||||
|
||||
- name: Build container proxy
|
||||
working-directory: packages/flutter_mozilla_components/javascript/container_proxy
|
||||
run: |
|
||||
npm ci
|
||||
npx webpack
|
||||
|
||||
- name: Build readability
|
||||
working-directory: packages/flutter_mozilla_components/javascript/readability
|
||||
run: |
|
||||
npm ci
|
||||
npx webpack
|
||||
|
||||
- name: Create key file
|
||||
working-directory: app
|
||||
run: |
|
||||
@@ -87,14 +75,12 @@ jobs:
|
||||
cache: true
|
||||
|
||||
- name: Setup Flutter dependencies
|
||||
working-directory: app
|
||||
run: |
|
||||
dart pub global activate melos
|
||||
melos bootstrap
|
||||
melos bootstrap --no-select
|
||||
|
||||
- name: Build APK
|
||||
working-directory: app
|
||||
run: flutter build apk --release --target-platform android-arm,android-arm64 --split-per-abi --no-tree-shake-icons
|
||||
- name: Build browser
|
||||
run: melos run build-browser --no-select
|
||||
|
||||
- name: Build App Bundle
|
||||
if: steps.build-type.outputs.is_prerelease == 'false'
|
||||
|
||||
@@ -67,3 +67,18 @@ melos:
|
||||
format:
|
||||
description: Format all Dart files in the workspace
|
||||
exec: dart format .
|
||||
build-browser:
|
||||
description: Run all preparation scripts and build APK + App Bundle
|
||||
run: |
|
||||
set -e
|
||||
echo "=== Running preparation scripts ==="
|
||||
sh scripts/build-container-proxy.sh
|
||||
sh scripts/build-readability.sh
|
||||
bash scripts/download_bangs.sh
|
||||
python3 scripts/build_quotes_db.py
|
||||
sh scripts/update-bridges.sh
|
||||
sh scripts/update-url-cleaner-catalog.sh
|
||||
sh scripts/update-url-shorteners.sh
|
||||
echo "=== Building APK ==="
|
||||
cd app
|
||||
flutter build apk --release --target-platform android-arm,android-arm64 --split-per-abi --no-tree-shake-icons
|
||||
|
||||
Reference in New Issue
Block a user