Skip to content

Commit 2db48d8

Browse files
committed
Adds workaround in GitHub Actions for error installing gems.
Issue: actions/runner-images#13647
1 parent 9299faa commit 2db48d8

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/8.19.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ jobs:
3131
- uses: ruby/setup-ruby@v1
3232
with:
3333
ruby-version: ${{ matrix.ruby }}
34+
# Workaround for https://github.com/actions/runner-images/issues/13647
35+
- name: Fix gem directory permissions
36+
run: sudo chmod +t $(ruby -e 'puts Gem.default_dir')/gems
3437
- name: Build
3538
run: |
3639
sudo apt-get update

.github/workflows/otel.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ jobs:
3333
- uses: ruby/setup-ruby@v1
3434
with:
3535
ruby-version: ${{ matrix.ruby }}
36+
# Workaround for https://github.com/actions/runner-images/issues/13647
37+
- name: Fix gem directory permissions
38+
run: sudo chmod +t $(ruby -e 'puts Gem.default_dir')/gems
3639
- name: Build
3740
run: |
3841
sudo apt-get update

0 commit comments

Comments
 (0)