more improvements
This commit is contained in:
parent
9d1215db07
commit
4e0d6e72d7
@ -17,8 +17,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
channel: stable
|
channel: stable
|
||||||
flutter-version: 3.19.0
|
flutter-version: 3.19.0
|
||||||
|
cache: true
|
||||||
- run: flutter pub get
|
- run: flutter pub get
|
||||||
# - run: flutter test
|
# - run: flutter test
|
||||||
- name: Build
|
- run: flutter build apk --debug --split-per-abi
|
||||||
run: flutter build web
|
- name: Push APK to Releases
|
||||||
# dumps onto publish_dir: ./build/web
|
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
|
name: Build Web
|
||||||
runs-on: k8s
|
runs-on: k8s
|
||||||
steps:
|
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/actions/checkout@v1
|
||||||
- uses: https://github.com/subosito/flutter-action@v2
|
- uses: https://github.com/subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
channel: stable
|
channel: stable
|
||||||
flutter-version: 3.19.0
|
flutter-version: 3.19.0
|
||||||
|
cache: true
|
||||||
- run: flutter pub get
|
- run: flutter pub get
|
||||||
# - run: flutter test
|
# - 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