diff --git a/.github/workflows/deploy_beta.yml b/.github/workflows/deploy_beta.yml index d4b32150..00d939ed 100644 --- a/.github/workflows/deploy_beta.yml +++ b/.github/workflows/deploy_beta.yml @@ -29,6 +29,8 @@ jobs: with: channel: stable cache: true + cache-key: 'flutter-:os:-:channel:-:version:-:arch:' + cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:arch:' - if: matrix.platform == 'android' uses: actions/setup-java@v3 @@ -36,15 +38,10 @@ jobs: distribution: 'corretto' java-version: '17' - - name: Cache pub dependencies - uses: actions/cache@v3 - with: - path: ${{ env.FLUTTER_HOME }}/.pub-cache - key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.lock') }} - restore-keys: ${{ runner.os }}-pub- - - name: Install Flutter Packages - run: flutter pub get + run: | + flutter config --no-analytics + flutter pub get - if: matrix.platform == 'ios' name: Install CocoaPods diff --git a/.github/workflows/lint_test_build.yml b/.github/workflows/lint_test_build.yml index 8c2a5432..afadfb02 100644 --- a/.github/workflows/lint_test_build.yml +++ b/.github/workflows/lint_test_build.yml @@ -35,5 +35,5 @@ jobs: - name: Run Tests run: flutter test - - name: Build Project + - name: Build Project for iOS run: flutter build ipa --no-codesign \ No newline at end of file diff --git a/ios/fastlane/Fastfile b/ios/fastlane/Fastfile index 85bf47c4..167947e7 100644 --- a/ios/fastlane/Fastfile +++ b/ios/fastlane/Fastfile @@ -20,7 +20,7 @@ platform :ios do skip_certificate_matching: true ) - previous_build_number = latest_testflight_build_number + previous_build_number = latest_testflight_build_number(version: "#{get_version_number}", initial_build_number: 0, app_identifier: "de.tum.cit.ase.ios2324.tum") current_build_number = previous_build_number + 1