From 029447271a1fe9f7131c13fa93dfe5b0d99c62ab Mon Sep 17 00:00:00 2001 From: Sk Niyaj Ali Date: Sun, 24 Nov 2024 01:19:58 +0530 Subject: [PATCH] chore: Fixing Fastlane --- .github/workflows/release_to_production.yml | 25 +++------------------ Gemfile.lock | 6 ++--- 2 files changed, 6 insertions(+), 25 deletions(-) diff --git a/.github/workflows/release_to_production.yml b/.github/workflows/release_to_production.yml index b5b14d0c8..0eb957902 100644 --- a/.github/workflows/release_to_production.yml +++ b/.github/workflows/release_to_production.yml @@ -28,24 +28,12 @@ jobs: - name: Configure Ruby uses: ruby/setup-ruby@a2bbe5b1b236842c1cb7dd11e8e3b51e0a616acc # v1.202.0 with: - bundler-cache: false - - # Create and set permissions for vendor directory - - name: Set up vendor directory - run: | - mkdir -p vendor/bundle - chmod -R 777 vendor/bundle - sudo chown -R $USER:$USER vendor/bundle + bundler-cache: true - name: Install Bundler run: | - gem install bundler -v 2.5.18 - - # Install gems with explicit permissions - - name: Bundle Install - run: | - bundle config set --local path 'vendor/bundle' - bundle config set --local deployment 'true' + gem install bundler:2.2.27 + bundle config path vendor/bundle bundle install --jobs 4 --retry 3 - uses: ./.github/actions/inflate-secrets @@ -56,13 +44,6 @@ jobs: playstore-creds: ${{ secrets.PLAYSTORECREDS }} firebase-creds: ${{ secrets.FIREBASECREDS }} - # Add permissions check before running fastlane - - name: Check Permissions - run: | - ls -la vendor/bundle - whoami - groups - - name: Promote Beta to Production Play Store run: | which ruby diff --git a/Gemfile.lock b/Gemfile.lock index dd16373cf..203166082 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -10,7 +10,7 @@ GEM artifactory (3.0.17) atomos (0.1.3) aws-eventstream (1.3.0) - aws-partitions (1.1011.0) + aws-partitions (1.1013.0) aws-sdk-core (3.213.0) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.992.0) @@ -19,7 +19,7 @@ GEM aws-sdk-kms (1.96.0) aws-sdk-core (~> 3, >= 3.210.0) aws-sigv4 (~> 1.5) - aws-sdk-s3 (1.172.0) + aws-sdk-s3 (1.173.0) aws-sdk-core (~> 3, >= 3.210.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.5) @@ -222,4 +222,4 @@ RUBY VERSION ruby 3.3.5p100 BUNDLED WITH - 2.5.18 + 2.5.23