Skip to content

Commit a296a70

Browse files
authored
Merge pull request #758 from ydah/fix-error
Fix Ruby version in GitHub Actions workflow to avoid errors during setup
2 parents a0c311e + bcc1002 commit a296a70

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,14 @@ concurrency:
1616

1717
jobs:
1818
build:
19-
runs-on: ubuntu-22.04 # Explicitly specifies an older compatible version of Ubuntu as the runner, for which pre-built Ruby 3.4 is available.
20-
if: ${{ github.repository == 'ruby/lrama' && !startsWith(github.event_name, 'pull') }}
19+
runs-on: ubuntu-22.04
2120
steps:
2221
- name: Checkout
2322
uses: actions/checkout@v5
2423
- name: Setup Ruby
2524
uses: ruby/setup-ruby@f26937343756480a8cb3ae1f623b9c8d89ed6984 # v1.196.0
2625
with:
27-
ruby-version: "3.4"
26+
ruby-version: "3.3" # TODO: Temporarily avoids the error if 3.4 is specified. (https://github.com/ruby/lrama/actions/runs/17967414950/job/51102512657)
2827
bundler-cache: true
2928
- name: Setup Pages
3029
id: pages

0 commit comments

Comments
 (0)