From 57939046d74b08147fc4829f20b6a1b8e7e9c8cf Mon Sep 17 00:00:00 2001 From: Kshitij B Date: Sat, 15 Jun 2024 06:08:01 +0000 Subject: [PATCH] Create build.yml --- .github/workflows/build.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..01ca5e6 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,28 @@ +name: build + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout all the submodules + uses: actions/checkout@v4 + with: + submodules: true + + - name: Install dependencies + run: | + sudo apt update && sudo apt upgrade + submodules/flutter/bin/flutter config --no-analytics + submodules/flutter/bin/flutter pub get + - name: Build + run: submodules/flutter/bin/flutter build apk --split-per-abi + + - name: Download all workflow run artifacts + uses: actions/download-artifact@v4