From 34a153e344a003cc1b1f40aab375e10272477f7c Mon Sep 17 00:00:00 2001 From: Aunali321 <48486084+Aunali321@users.noreply.github.com> Date: Mon, 1 Aug 2022 17:08:02 +0530 Subject: [PATCH] Create release-build.yml --- .github/workflows/release-build.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/release-build.yml diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml new file mode 100644 index 00000000..69c7163e --- /dev/null +++ b/.github/workflows/release-build.yml @@ -0,0 +1,26 @@ +name: Flutter CI + +on: + push: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-java@v1 + with: + java-version: '12.x' + - uses: subosito/flutter-action@v1 + with: + channel: 'beta' + - run: flutter pub get + - run: flutter format --set-exit-if-changed . + - run: flutter analyze . + - run: flutter build apk + - uses: actions/upload-artifact@v1 + with: + name: release-apk + path: build/app/outputs/apk/release/app-release.apk