From 9f5cb1a8f8bf78eff758641c66b78901d6e539c0 Mon Sep 17 00:00:00 2001 From: Miha Drofenik Date: Tue, 26 Dec 2023 01:09:22 +0100 Subject: [PATCH] fixes --- .github/workflows/build.yml | 11 +++++++++-- fastlane/Fastfile | 3 ++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a2ed4c1..e1f0cd0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,9 +35,16 @@ jobs: - name: Install bundler run: | gem install bundler -v 2.4.10 - - name: Install gem plugins - run: | + - name: Install gem plugins + run: | bundle install + - name: Cache cocoapods + uses: actions/cache@v3 + with: + path: /ios/Pods + key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} + restore-keys: | + ${{ runner.os }}-pods- - name: Install dependencies with CocoaPods run: | cd ios && bundle exec pod install && cd .. diff --git a/fastlane/Fastfile b/fastlane/Fastfile index aa4acf1..7f626cd 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -18,8 +18,9 @@ platform :ios do lane :build_debug do install_provisioning_profile(path: "./fastlane/profile.mobileprovision") import_certificate( + keychain_name: "login.keychain", certificate_path: "./fastlane/cert.p12", - certificate_password: ENV["IOS_CERT_PASSWORD"] || "default" + certificate_password: ENV["IOS_CERT_PASSWORD"] ) build_ios_app(