more improvements
This commit is contained in:
parent
9d1215db07
commit
4e0d6e72d7
@ -17,8 +17,13 @@ jobs:
|
||||
with:
|
||||
channel: stable
|
||||
flutter-version: 3.19.0
|
||||
cache: true
|
||||
- run: flutter pub get
|
||||
# - run: flutter test
|
||||
- name: Build
|
||||
run: flutter build web
|
||||
# dumps onto publish_dir: ./build/web
|
||||
- run: flutter build apk --debug --split-per-abi
|
||||
- name: Push APK to Releases
|
||||
uses: https://gitea.com/actions/release-action@main
|
||||
with:
|
||||
files: |-
|
||||
build/app/outputs/**.apk
|
||||
api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||
|
@ -5,16 +5,17 @@ jobs:
|
||||
name: Build Web
|
||||
runs-on: k8s
|
||||
steps:
|
||||
- name: Install prerequisites
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y xz-utils
|
||||
|
||||
- uses: https://github.com/actions/checkout@v1
|
||||
- uses: https://github.com/subosito/flutter-action@v2
|
||||
with:
|
||||
channel: stable
|
||||
flutter-version: 3.19.0
|
||||
cache: true
|
||||
- run: flutter pub get
|
||||
# - run: flutter test
|
||||
- run: flutter build apk --debug --split-per-abi
|
||||
- name: Push APK to Releases
|
||||
uses: https://github.com/ncipollo/release-action@v1
|
||||
with:
|
||||
artifacts: "build/app/outputs/apk/debug/*.apk"
|
||||
token: ${{ secrets.TOKEN }}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user