mirror of
https://codeberg.org/mi6e4ka/openstore.git
synced 2025-06-28 12:09:57 +00:00
ci: upd
This commit is contained in:
parent
875e8ddfec
commit
5469ea416e
1 changed files with 9 additions and 6 deletions
|
@ -13,7 +13,11 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
# fetch-depth: 0
|
||||
|
||||
- name: Pull flutter tags
|
||||
run: |
|
||||
cd flutter && git fetch --tags --depth=1 && cd ..
|
||||
|
||||
- name: Set up JDK 21
|
||||
uses: https://github.com/actions/setup-java@v3
|
||||
|
@ -24,6 +28,9 @@ jobs:
|
|||
- name: Setup Android SDK
|
||||
uses: https://github.com/android-actions/setup-android@v3
|
||||
|
||||
- name: Flutter check
|
||||
run: ./flutter/bin/flutter doctor -v
|
||||
|
||||
# 3. Создаем key.properties и загружаем ключ (секреты Forgejo)
|
||||
- name: Setup signing keys
|
||||
run: |
|
||||
|
@ -48,14 +55,10 @@ jobs:
|
|||
# .dart_tool
|
||||
# key: ${{ runner.os }}-flutter-${{ hashFiles('pubspec.lock') }}
|
||||
|
||||
# 5. Восстанавливаем зависимости
|
||||
# - name: Get packages
|
||||
# run: ./flutter/bin/flutter pub get
|
||||
|
||||
# 6. Собираем подписанный APK
|
||||
- name: Build signed APK
|
||||
run: |
|
||||
./flutter/bin/flutter build apk --release --split-per-abi
|
||||
./flutter/bin/flutter build apk --release --split-per-abi -v
|
||||
|
||||
# 7. Сохраняем артефакты
|
||||
- name: Upload artifacts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue