From 2c3cbe5f229580f40fd89d00cc99d181822ff460 Mon Sep 17 00:00:00 2001 From: Simon <71031475+apoleon33@users.noreply.github.com> Date: Thu, 28 Dec 2023 16:05:42 +0100 Subject: [PATCH] github action setup --- .github/workflows/dart.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/dart.yml diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml new file mode 100644 index 0000000..2a57f30 --- /dev/null +++ b/.github/workflows/dart.yml @@ -0,0 +1,30 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. + +name: Dart + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-java@v2 + with: + distribution: 'zulu' + java-version: '11' + - uses: subosito/flutter-action@v2 + with: + flutter-version: '3.7.7' + - run: flutter pub get + - run: flutter test + - run: flutter build apk + - run: flutter build appbundle