changed workflow
This commit is contained in:
parent
0a5e2930c0
commit
51664c1cd0
|
@ -29,14 +29,14 @@ jobs:
|
||||||
uses: subosito/flutter-action@v2
|
uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
flutter-version: "3.0.0"
|
flutter-version: "3.0.0"
|
||||||
cannel: "stable"
|
channel: "stable"
|
||||||
cache: true
|
cache: true
|
||||||
|
|
||||||
- name: Get depenencies
|
- name: Get depenencies
|
||||||
run: flutter pub get
|
run: flutter pub get
|
||||||
|
|
||||||
- name: Start release build
|
- name: Start release build
|
||||||
run: flutter build apk --split-per-abi
|
run: flutter build apk
|
||||||
|
|
||||||
release_apk:
|
release_apk:
|
||||||
needs: build_apk
|
needs: build_apk
|
||||||
|
@ -51,8 +51,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: Android APK
|
name: Android APK
|
||||||
path: |
|
path: |
|
||||||
build/app/outputs/flutter-apk/*.apk
|
build/app/outputs/flutter-apk/app-release.apk
|
||||||
build/app/outputs/flutter-apk/*.sha1
|
build/app/outputs/flutter-apk/app-release.sha1
|
||||||
|
|
||||||
- name: Upload APK as release
|
- name: Upload APK as release
|
||||||
uses: "marvinpinto/action-automatic-releases@latest"
|
uses: "marvinpinto/action-automatic-releases@latest"
|
||||||
|
@ -62,5 +62,5 @@ jobs:
|
||||||
prerelease: true
|
prerelease: true
|
||||||
title: "Android APK"
|
title: "Android APK"
|
||||||
files: |
|
files: |
|
||||||
build/app/outputs/flutter-apk/*.apk
|
build/app/outputs/flutter-apk/app-release.apk
|
||||||
build/app/outputs/flutter-apk/*.sha1
|
build/app/outputs/flutter-apk/app-release.sha1
|
||||||
|
|
Loading…
Reference in New Issue