Skip to content

Commit 93a01f6

Browse files
committed
ci: Use sudo for gem install bundler
The `gem install bundler` command requires sudo privileges in the GitHub Actions environment. This commit adds `sudo` to the command to ensure successful execution of the workflow.
1 parent 31da8fe commit 93a01f6

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/android.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
- name: Install Bundler & Fastlane
3636
run: |
37-
gem install bundler
37+
sudo gem install bundler
3838
bundle install
3939
4040
- name: Setup local.properties
@@ -76,7 +76,7 @@ jobs:
7676
distribution: 'temurin'
7777
- name: Run Fastlane Test
7878
run: |
79-
gem install bundler
79+
sudo gem install bundler
8080
bundle install
8181
bundle exec fastlane test
8282
@@ -107,7 +107,7 @@ jobs:
107107
- uses: actions/checkout@v3
108108
- name: Setup
109109
run: |
110-
gem install bundler
110+
sudo gem install bundler
111111
bundle install
112112
echo "${{ secrets.GOOGLE_PLAY_JSON }}" | base64 --decode > app/qrbarcode-8b0b8-aaefa03b2374.json
113113
- name: Deploy
@@ -123,7 +123,7 @@ jobs:
123123
- uses: actions/checkout@v3
124124
- name: Setup
125125
run: |
126-
gem install bundler
126+
sudo gem install bundler
127127
bundle install
128128
echo "${{ secrets.GOOGLE_PLAY_JSON }}" | base64 --decode > app/qrbarcode-8b0b8-aaefa03b2374.json
129129
- name: Deploy
@@ -139,7 +139,7 @@ jobs:
139139
- uses: actions/checkout@v3
140140
- name: Setup
141141
run: |
142-
gem install bundler
142+
sudo gem install bundler
143143
bundle install
144144
- name: Deploy
145145
run: bundle exec fastlane deployFirebaseBeta

0 commit comments

Comments
 (0)