Skip to content

Commit

Permalink
Try to clean derived data after to clean up space
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonjenniges committed Sep 10, 2024
1 parent 3c0ec48 commit 62a82b0
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: reader-sdk-flutter-plugin
on: [push]
jobs:
install-and-test-android:
install-and-test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -14,21 +14,6 @@ jobs:
channel: 'stable' # or: 'beta', 'dev' or 'master'
- run: flutter pub get

# 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
Expand All @@ -41,3 +26,14 @@ 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}}
- run: du -sh *

0 comments on commit 62a82b0

Please sign in to comment.