diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 4664968..aebef22 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -3,7 +3,7 @@ # separate terms of service, privacy policy, and support # documentation. -name: Build Apk +name: Build app-dev-release.apk on: push: @@ -35,3 +35,8 @@ jobs: - name: Build Apk run: flutter build apk --flavor dev --dart-define cameraPreviewAspectRatio=2/3 -t lib/main_dev.dart + + - uses: actions/upload-artifact@v3 + with: + name: m3_lightmeter.apk + path: build/app/outputs/flutter-apk/app-dev-release.apk diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ab48c6..023ef9c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ # separate terms of service, privacy policy, and support # documentation. -name: Dart +name: Pull Request check on: push: @@ -14,6 +14,7 @@ on: jobs: build: runs-on: ubuntu-latest + timeout-minutes: 5 steps: - uses: actions/checkout@v3 @@ -31,7 +32,7 @@ jobs: run: flutter pub run intl_utils:generate - name: Analyze project source - run: flutter analyze + run: flutter analyze lib --fatal-infos - name: Run tests run: flutter test