diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1b0e1f7..c1e28cc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,23 +12,10 @@ jobs: - uses: subosito/flutter-action@v1 with: channel: 'stable' # or: 'beta', 'dev' or 'master' + - run: du -sh * - run: flutter pub get + - run: rm -r ~/.gradle/caches/ - # Android - - run: | - cd example - flutter pub get - cd android - ./gradlew clean build -PSQUARE_READER_SDK_APPLICATION_ID=${{secrets.SQUARE_READER_SDK_APPLICATION_ID}} -PSQUARE_READER_SDK_REPOSITORY_PASSWORD=${{secrets.SQUARE_READER_SDK_REPOSITORY_PASSWORD}} - - install-and-test-ios: - runs-on: macos-latest - steps: - - uses: actions/checkout@v2 - - uses: subosito/flutter-action@v1 - with: - channel: 'stable' # or: 'beta', 'dev' or 'master' - - run: flutter pub get # iOS - run: | cd example @@ -41,3 +28,12 @@ jobs: pod update Firebase/CoreOnly pod install --repo-update xcodebuild -workspace Runner.xcworkspace -configuration Debug -scheme Runner -sdk iphoneos SKIP_SETUP_SCRIPT=YES CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO + + - run: du -sh * + + # Android + - run: | + cd example + flutter pub get + cd android + ./gradlew clean build -PSQUARE_READER_SDK_APPLICATION_ID=${{secrets.SQUARE_READER_SDK_APPLICATION_ID}} -PSQUARE_READER_SDK_REPOSITORY_PASSWORD=${{secrets.SQUARE_READER_SDK_REPOSITORY_PASSWORD}}