Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
crow committed Jun 21, 2024
1 parent 4e65386 commit 3119113
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
name: CI

on: [pull_request]

env:
DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer
FLUTTER_VERSION: 3.0.2
JAVA_VERSION: "12.x"
JAVA_DISTRIBUTION: 'zulu'
ANDROID_SDK_ROOT: ${{ github.workspace }}/android-sdk

jobs:
ci:
Expand Down Expand Up @@ -35,12 +37,6 @@ jobs:
- uses: subosito/flutter-action@d8687e6979e8ef66d2b2970e2c92c1d8e801d7bf
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
- name: Install Android SDK
run: sdkmanager "platforms;android-34" "build-tools;34.0.0" "ndk;25.1.8937393"
- name: Set up local.properties
run: |
echo "sdk.dir=$ANDROID_SDK_ROOT" > ./android/local.properties
echo "ndk.dir=$ANDROID_SDK_ROOT/ndk/25.1.8937393" >> ./android/local.properties
- name: Build Android
run: bash ./scripts/run_ci_tasks.sh -a

Expand All @@ -55,3 +51,5 @@ jobs:
- uses: subosito/flutter-action@d8687e6979e8ef66d2b2970e2c92c1d8e801d7bf
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
- name: Build iOS
run: bash ./scripts/run_ci_tasks.sh -i

0 comments on commit 3119113

Please sign in to comment.