Skip to content

Commit

Permalink
Update Flutter CI
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoMindStd committed Apr 10, 2020
1 parent 22eebdb commit d7322bd
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/flutter-admin.yml
Expand Up @@ -6,6 +6,7 @@ on:
- master
paths:
- holinoti_admin/**
- .github/workflows/flutter-admin.yml

pull_request:
branches:
Expand All @@ -20,13 +21,19 @@ jobs:

steps:
- uses: actions/checkout@v2.0.0
- uses: actions/setup-java@v1.3.0
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: '1.8'
java-version: 11.0.2
- name: Android NDK toolchain Setup
uses: ravinderjangra/android-ndk-toolchain-setup@0.1
with:
api: '21'
arch: 'arm'
install-location: 'toolchains'
- uses: subosito/flutter-action@v1.1.1
with:
flutter-version: '1.12.x' # you can use 1.12
channel: 'stable' # optional, default to: 'stable'
- name: Install dependencies
run: flutter pub get
working-directory: holinoti_admin
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/flutter-customer.yml
Expand Up @@ -6,6 +6,7 @@ on:
- master
paths:
- holinoti_customer/**
- .github/workflows/flutter-customer.yml

pull_request:
branches:
Expand All @@ -20,13 +21,19 @@ jobs:

steps:
- uses: actions/checkout@v2.0.0
- uses: actions/setup-java@v1.3.0
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: '1.8'
java-version: 11.0.2
- name: Android NDK toolchain Setup
uses: ravinderjangra/android-ndk-toolchain-setup@0.1
with:
api: '21'
arch: 'arm'
install-location: 'toolchains'
- uses: subosito/flutter-action@v1.1.1
with:
flutter-version: '1.12.x' # you can use 1.12
channel: 'stable' # optional, default to: 'stable'
- name: Install dependencies
run: flutter pub get
working-directory: holinoti_customer
Expand Down

0 comments on commit d7322bd

Please sign in to comment.