feature/ci-deploy #1

Merged
remoll merged 19 commits from feature/ci-deploy into main 2024-05-04 15:33:39 +00:00
2 changed files with 26 additions and 8 deletions
Showing only changes of commit 9d1215db07 - Show all commits

View File

@ -13,14 +13,12 @@ jobs:
- uses: https://github.com/actions/setup-java@v1
with:
java-version: '12.x'
- uses: https://github.com/subosito/flutter-action@v1
- uses: https://github.com/subosito/flutter-action@v2
with:
flutter-version: '1.7.8+hotfix.4'
channel: stable
flutter-version: 3.19.0
- 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 }}
- name: Build
run: flutter build web
# dumps onto publish_dir: ./build/web

View File

@ -0,0 +1,20 @@
on: push
name: Test, Build and Release web
jobs:
build:
name: Build Web
runs-on: k8s
steps:
- uses: https://github.com/actions/checkout@v1
- uses: https://github.com/subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.19.0
- 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 }}