Skip to content

Commit

Permalink
chore: Fixing Fastlane
Browse files Browse the repository at this point in the history
  • Loading branch information
niyajali committed Nov 23, 2024
1 parent 1afc5cc commit 0294472
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 25 deletions.
25 changes: 3 additions & 22 deletions .github/workflows/release_to_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down Expand Up @@ -222,4 +222,4 @@ RUBY VERSION
ruby 3.3.5p100

BUNDLED WITH
2.5.18
2.5.23

0 comments on commit 0294472

Please sign in to comment.