Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
laves committed Feb 6, 2024
1 parent 755e384 commit dcac7f6
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/flutter-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ on:
- 'example/**'
- '!example/README.md'

# defaults:
# run:
# working-directory: example
defaults:
run:
working-directory: example

jobs:
build-android:
Expand All @@ -26,6 +26,7 @@ jobs:
strategy:
matrix:
flutter-version: ['2.8.1', '3.0.4']
gradle-version: ['7.5', '8.2']

steps:
- uses: actions/checkout@v3
Expand All @@ -43,19 +44,17 @@ jobs:

- uses: gradle/actions/setup-gradle@v3
with:
gradle-version: 8.2
gradle-version: ${{ matrix.gradle-version }}

- name: Install dependencies
run: flutter pub get
working-directory: example

- name: Install dependencies
run: ./gradlew --version
working-directory: android
- name: Generate gradle wrapper
run: gradle wrapper --gradle-version ${{ matrix.gradle-version }} --distribution-type all
working-directory: example/android

- name: Build
run: flutter build apk
working-directory: example

# build-ios:
# name: Build iOS demo
Expand Down

0 comments on commit dcac7f6

Please sign in to comment.