From 9d1215db076b3f7b0912ea460b07cf9303ca21c9 Mon Sep 17 00:00:00 2001 From: Remy Moll Date: Thu, 2 May 2024 18:15:13 +0200 Subject: [PATCH] try again --- .gitea/workflows/build-android.yaml | 14 ++++++-------- .gitea/workflows/build-web.yaml | 20 ++++++++++++++++++++ 2 files changed, 26 insertions(+), 8 deletions(-) create mode 100644 .gitea/workflows/build-web.yaml diff --git a/.gitea/workflows/build-android.yaml b/.gitea/workflows/build-android.yaml index f20cce2..5972680 100644 --- a/.gitea/workflows/build-android.yaml +++ b/.gitea/workflows/build-android.yaml @@ -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 }} \ No newline at end of file + - name: Build + run: flutter build web + # dumps onto publish_dir: ./build/web diff --git a/.gitea/workflows/build-web.yaml b/.gitea/workflows/build-web.yaml new file mode 100644 index 0000000..7e979e8 --- /dev/null +++ b/.gitea/workflows/build-web.yaml @@ -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 }} \ No newline at end of file