From 15f5a6a6574fe267b4d4c077c8f615d5d5f245fc Mon Sep 17 00:00:00 2001 From: Remy Moll Date: Thu, 2 May 2024 17:44:09 +0200 Subject: [PATCH] try building this --- .gitea/workflows/build-android.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .gitea/workflows/build-android.yaml diff --git a/.gitea/workflows/build-android.yaml b/.gitea/workflows/build-android.yaml new file mode 100644 index 0000000..d5b55e3 --- /dev/null +++ b/.gitea/workflows/build-android.yaml @@ -0,0 +1,22 @@ +on: push +name: Test, Build and Release apk +jobs: + build: + name: Build APK + runs-on: k8s + steps: + - uses: https://github.com/actions/checkout@v1 + - uses: https://github.com/actions/setup-java@v1 + with: + java-version: '12.x' + - uses: https://github.com/subosito/flutter-action@v1 + with: + flutter-version: '1.7.8+hotfix.4' + - 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