more improvements
Some checks failed
Test, Build and Release web / Build Web (push) Waiting to run
Test, Build and Release apk / Build APK (push) Failing after 7s

This commit is contained in:
Remy Moll 2024-05-02 18:27:19 +02:00
parent 9d1215db07
commit 4e0d6e72d7
2 changed files with 15 additions and 9 deletions

View File

@ -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}}'

View File

@ -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 }}