mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-02-17 23:09:36 +00:00
测试apk改名
This commit is contained in:
parent
88fb111c4d
commit
4ef2dfc0da
1 changed files with 11 additions and 1 deletions
12
.github/workflows/flutter-ci.yaml
vendored
12
.github/workflows/flutter-ci.yaml
vendored
|
|
@ -92,16 +92,26 @@ jobs:
|
||||||
APP_VERSION=$(grep '^version:' pubspec.yaml | sed 's/version: //')
|
APP_VERSION=$(grep '^version:' pubspec.yaml | sed 's/version: //')
|
||||||
|
|
||||||
mv build/app/outputs/flutter-apk/{app-release,$APP_NAME-$APP_VERSION-app-universal}.apk
|
mv build/app/outputs/flutter-apk/{app-release,$APP_NAME-$APP_VERSION-app-universal}.apk
|
||||||
|
mv build/app/outputs/flutter-apk/{app-arm64-v8a-release,$APP_NAME-$APP_VERSION-app-universal}.apk
|
||||||
|
mv build/app/outputs/flutter-apk/{app-armeabi-v7a-release,$APP_NAME-$APP_VERSION-app-universal}.apk
|
||||||
|
mv build/app/outputs/flutter-apk/{app-x86_64-release,$APP_NAME-$APP_VERSION-app-universal}.apk
|
||||||
|
|
||||||
- name: Build App Bundle
|
- name: Build App Bundle
|
||||||
run: flutter build appbundle --release
|
run: flutter build appbundle --release
|
||||||
|
|
||||||
|
- name: Rename AAB
|
||||||
|
run: |
|
||||||
|
APP_NAME=$(grep '^name:' pubspec.yaml | sed 's/name: //')
|
||||||
|
APP_VERSION=$(grep '^version:' pubspec.yaml | sed 's/version: //')
|
||||||
|
|
||||||
|
mv build/app/outputs/flutter-apk/{app-release,$APP_NAME-$APP_VERSION-app-universal}.aab
|
||||||
|
|
||||||
- name: Upload Android APK Artifact
|
- name: Upload Android APK Artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: android-release-artifacts
|
name: android-release-artifacts
|
||||||
path: |
|
path: |
|
||||||
build/app/outputs/flutter-apk/*-release*.apk
|
build/app/outputs/flutter-apk/*.apk
|
||||||
build/app/outputs/bundle/release/*.aab
|
build/app/outputs/bundle/release/*.aab
|
||||||
|
|
||||||
build_linux:
|
build_linux:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue